Hi!
We have a usecase where, a parent workflow spawns child workflows. we want to make sure the number of these child workflows in open state at any given time is within a limit.
In my prototype,
I had a parent workflow executing 8 child workflows(PARENT_CLOSE_POLICY_ABANDON & a different childTaskQueue)
Each childWorkflow would start, sleep for 5 minutes and then complete.
I had 2 childworkers, each with setMaxConcurrentWorkflowTaskExecutionSize(2) and expected 4 childWorkflows to run first, and next 4 to run after 5 minutes.
Is there a way to achieve this?