You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just wanted to get some clarification on why the decision was made to make the "FAILED" state a terminal state type
There are three terminal state types, from which there are no orchestrated transitions to any other state type.
- COMPLETED - CANCELLED - FAILED
I don't think this should be the case. For instance in my setup if a failure occurs its usually caused by issues with the script (flow). If I then go and fix the issue in the script I would like to re-run this "failed" flow run since it already contains the specific parameters for this run.The easiest way for me to do this is to use the set_flow_run_state however you cannot do that if the state is "FAILED".
My proposal here is to allow FAILED state to transition to back to specific set of states. In my case i want it to transition to the Scheduled state and this makes sense for my use case.
Otherwise what you have to do to re-run a failed flow run is the following:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I just wanted to get some clarification on why the decision was made to make the "FAILED" state a terminal state type
I don't think this should be the case. For instance in my setup if a failure occurs its usually caused by issues with the script (flow). If I then go and fix the issue in the script I would like to re-run this "failed" flow run since it already contains the specific parameters for this run.The easiest way for me to do this is to use the set_flow_run_state however you cannot do that if the state is "FAILED".
My proposal here is to allow FAILED state to transition to back to specific set of states. In my case i want it to transition to the Scheduled state and this makes sense for my use case.
Otherwise what you have to do to re-run a failed flow run is the following:
It would be much much easier if could:
Beta Was this translation helpful? Give feedback.
All reactions