Repository navigation
How to pass status of subdag to parent dag ? #14999
Unanswered
nikhil1699
asked this question in
Q&A
Replies: 1 comment 1 reply
|
I'm not sure if this is possible out of the box.
What do you mean by logs of DAG? I though we have only logs per task not per DAG? |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hi
We are working on Airflow 1.10 and we have created a few nested subdags to suit our requirements.
Suppose we have a parent DAG P
and then we have 3 subdags A, B, C and each of these subdags have 1 subdag of their own, lets name them X,Y,Z respectively. Its not most beautiful design, but it suits our requirement.
Now what we want is to be able to send SUCCESS or FAILURE status of each subdag in Logs of the main parent DAG P. So suppose X fails, and all other are success, I want the information that subdag X failed, in logs for subdag P.
Another thing to mention is that P will SUCCEED even if X fails, I just want the status of X in logs of P.
Thanks alot for your time.
All reactions