Anurag-Shetty commented on issue #12199:
URL: https://github.com/apache/airflow/issues/12199#issuecomment-923827798


   I was able to  create state called "warning" with below changes.
   1. Created with execption called AirflowWarningException in exceptions.py
   2. Made some changes in utils/state.py(adding new state), 
models/taskinstance.py, ti_deps/deps/trigger_rule_dep.py.
   3. I raising the exception in my custom bash operator based on type of 
failure.
   
![image](https://user-images.githubusercontent.com/50450873/134150750-5153228c-82e4-47f9-8dcd-a868a6aba455.png)
   
   
   Let me know your thoughts and any impacts from this approach.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to