Heather05/25/2023, 9:23 AM
But this only runs
after the retry has finished, I want to run the flow after the first failure, so I tried adding:
To the bottom of
@task ... try: something_that_might_fail() finally: StartFlowRun(flow_name=my_flow.name).run()
- but getting the error:
Any ideas how to achieve what I described? Thanks!
Unexpected error while running flow: KeyError('Task slug case(1111)-1 is not found in the current Flow. This is usually caused by a mismatch between the flow version stored in the Prefect backend and the flow that was loaded from storage.