Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: make the error value of a step available #15

Closed
1 of 2 tasks
wI2L opened this issue Nov 12, 2019 · 0 comments
Closed
1 of 2 tasks

feat: make the error value of a step available #15

wI2L opened this issue Nov 12, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@wI2L
Copy link
Contributor

wI2L commented Nov 12, 2019

Note: for support questions, erase this form. Otherwise use approriate areas..

  • I'm submitting a ...

    • bug report
    • feature request
  • Do you want to request a feature or report a bug?

Feature request/enhancement.

  • What is the current behavior?

The error value of a step action is not accessible, and cannot be used in a check.

  • What is the expected behavior?

Given the following step with conditions, I would like to be able to access to the error value so that it can be used with the REGEXP operator in a check.

    myStep:
        dependencies: [myDep]
        description : Loreum Ipsum
        action:
            type: toto
        conditions:
            - type: check
              if:
              - value: '{{.step.anotherStep.error}}'
                operator: regexp
                expected: '.*error message.*'
              then:
                this: DONE
              message: foobar
  • Which version of uTask are you using?

Latest.

@pablito-perez pablito-perez self-assigned this Nov 12, 2019
@pablito-perez pablito-perez added the enhancement New feature or request label Nov 12, 2019
@pablito-perez pablito-perez added this to the v1.0.1 milestone Nov 12, 2019
@pablito-perez pablito-perez moved this from In progress to Review in progress in µTask feature development Nov 12, 2019
µTask feature development automation moved this from Review in progress to Done Nov 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

No branches or pull requests

2 participants