mr Memedi

    mr Memedi

    10 months ago
    Hello prefecters, I was wondering if it's possible to run only a part of your flow. Lets say there are 3 tasks in a flow and you are only interested in re-running task 2 & 3.
    Kevin Kho

    Kevin Kho

    10 months ago
    Hey @mr Memedi, if you have a flow and task 1 succeeded but 2 and 3 failed, re-running this flow run should start from task 2. If you are trying to create an entirely new flow run but just run 2 and 3, this is a bit harder. I think it might call for splitting task 2 and task 3 into their own Flow and then you can start that subflow with
    StartFlowRun
    or
    create_flow_run
    . If you want to consistently do this but keep them in one flow, maybe you can explore using a Parameter to skip Task 1 if you set it to a certain value.