Replies: 2 comments 1 reply
-
Hello. Thanks for the question.
Example: steps:
- name: step1
command: bash
script: |
[run some important task]
echo "SUCCESS"
output: STEP1_RESULT
continueOn:
failure: true
- name: step2
command: echo "step2"
preconditions:
- condition: "$STEP1_RESULT"
expected: "SUCCESS"
depends:
- step1
- name: step3
command: echo "step3"
preconditions:
- condition: "$STEP1_RESULT"
expected: "FAILURE"
depends:
- step1 |
Beta Was this translation helpful? Give feedback.
-
For (1), When will the status of a step be available using HTTP call? Is it available post DAG execution or during DAG's execution? I am interested in checking the status of previous step in some step below in the execution path, within the same DAG. For(2) - I am already executing a command, which prints |
Beta Was this translation helpful? Give feedback.
-
Is it possible to get the status of any step in the dag ? Like I want to know if step1 is successful or failure in another step execution.
Is it possible to choose dependency conditionally. Let's say step2 and step3 are dependent on step1. I want to execute step if step1 is successful and step3 if step1 is failure.
Beta Was this translation helpful? Give feedback.
All reactions