Flow Designer - How to trigger approvals for multiple groups simultaneously

Aishwarya Shukl
Kilo Contributor

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 ?

5 REPLIES 5

Yanal
Giga Guru

Did you try the Do the following in parallel ?

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 ?

Sudhanshu Talw1
Tera Guru

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:

https://docs.servicenow.com/bundle/orlando-servicenow-platform/page/administer/flow-designer/concept...

Hope it helps.

 

Thanks

Sudhanshu

 

 

Community Alums
Not applicable

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".