Effect CommunityEC
Effect Community4mo ago
2 replies
garrett

Handling Interruptions in Fan-Out/Fan-In Workflow Pattern with Child Workflows

I am trying to accomplish a "fan-out/fan-in" pattern using workflows where I have a parent workflow that kicks off a bunch of child workflows in parallel and then does something with their combined outputs. So far I have this working fine, but I want to allow for the user to interrupt this workflow. I can interrupt the parent workflow just fine, but it doesn't seem to stop the child workflows at all, even if they havent started yet due to concurrency.

1. Is there a better way to accomplish this pattern? (parallel activities maybe?)
2. is there an way to interrupt all child workflows?
Was this page helpful?