Hi everyone, I want to put retries on the flow run...
# ask-community
n
Hi everyone, I want to put retries on the flow run when it gets crashed. One way i figured is i can call a /api/flow_runs/{id}/set_state API to retry it with flow run id as a input. The question for which i am seeking the answer is. how would i know the flow has been crashed through the code. Or if there's is any other way i can do this then please let me know
n
This sounds like you just want to set retries in the flow decorator
n
Thanks, will it handle only the Crashed state or any kind of failure? If yes can it be possible to make it specific to crashed state ?
n
ah that I don't know unfortunately
n
No worries, thanks