is there a way to trigger flow X when, for example...
# ask-community
g
is there a way to trigger flow X when, for example, flow Y got setup wrongly (like missing parameter or anyway something which prevents Y to even start)?
1
c
An automation?
If FlowY enters a failed / crashed state, create a flow-run for Flow X - it’s hard to specify the exact condition, so it’s not on why it failed, only the state condition it terminates in
g
this is prefect cloud, we have a self-hosted instance
c
Unfortunately not, you would need to write some custom interaction to detect a failed flow and take action, likely using the API