Flow Designer - How to trigger approvals for multiple groups simultaneously

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-29-2020 01:04 AM
Hi,
We are trying to automate the process of adding new users to various groups based on their organizational unit. But we are facing a challenge to implement this using the flow designer (FD).
Scenario : An organizational unit will have multiple groups associated to it. Approvals for adding the new user to all these groups should be sent out simultaneously.
Our approach : Using the FD, we are able to identify all the related and tried triggering the approvals using the for each loop, but in that the approvals are triggered sequentially (one at a time) and not simultaneously. This does not serve our purpose.
Kindly let me know if we can proceed with in this implementation or do we have go with the traditional approach of the workflow ?
- Labels:
-
flow designer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-29-2020 01:12 AM
Did you try the Do the following in parallel ?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-29-2020 03:56 AM
Yes I tried DO the following in parallel. But it seems the number of paths need to be predefined as it remains static.
The number of paths need to be dynamic (based on the count of groups associated with the organizational unit).
How can we achieve that ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-29-2020 01:43 AM
Hi Aishwarya,
Try via:
Do the following in parallel flow logic
As it Run actions and subflows in separate paths within an isolated flow logic block.
With this flow logic, you can run actions and subflows in separate paths. If any action within the Do the following in parallel flow logic block must wait, other actions run until all paths within the block finish processing.
This not only resolves this but also when you have to wait for approval as well where each approval's path is treated as independent.
Try with this:
Hope it helps.
Thanks
Sudhanshu

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-08-2021 07:17 AM
I have the exact same problem.
I have tried the "Do following in parallel" in a case with only 2 approvals.
But because both approvals are for the same record (sc_req_item), when the first Approval is approved, the System registers that the record is approved, and auto-approves the second approval.
So in my experience, the Ask for Approval Action cannot be run in parallel for the same "Approval for" record.
If you do, it will function as "Anyone approves or rejects".