Killing sibling task in parallel

Original post I have a flow that runs three tasks (visually) in parallel. I want to stop the entire run if one of the three tasks meet a particular condition. Is it possible to “kill” a sibling parallel task?

Follow up Here is the workbook link https://www.gumloop.com/pipeline?workbook_id=9nES2ztapYGwu3VnE6fdJM

It’s a simplified version of my actual process, and essentially, if there is no “blue” then I’d like the entire process to stop and generate a doc that says “the documents needs further review”.

1 Like

Could you wrap it into a big If Else statement? CC @Wasay-Gumloop
(could be the next phase to create Agents vrs AI workflows …)

2 Likes

Hey @nrozman - You’re on the right track here! I’d recommend looking into subflows and then you can use an IF-ELSE around the subflow to check for the condition as @Donna suggested.

Here’s an example: https://www.gumloop.com/pipeline?workbook_id=nhdv7xDHZVFzsqkwYec2pC

Let me know if this sort of setup makes sense to you.

Subflow Tutorial: https://vimeo.com/1052111235/cb7e3a446b
Subflow Docs: https://docs.gumloop.com/core-concepts/subflows

This topic was automatically closed 4 days after the last reply. New replies are no longer allowed.