Dynamic creation of branches in flow designer

MKrishnaCB
Tera Contributor

Using the Do the following in Parallel in flow designer, we have the option to manually add the number of branches for parallel execution. I would like to know if we also have an option to create the number of branches dynamically.

1 REPLY 1

JenniferRah
Mega Sage

Technically, no. But it depends on what you want to do. If you are wanting to create a dynamic number of tasks, for example, based on a variable or condition, then you can just create all of them and don't click the "Wait for completion" checkbox. Then after you have created all the tasks, wait for them all to complete. It's not technically a Do the following in Parallel, but it accomplishes the same thing.