How to get multiple groups to approve a request using flow designer?

thrsdy1512
Tera Expert

At the moment the flow is set to any one to approve and it only waits for 1 approval from any of the multiple approval groups.  As soon as 1 person approvers, the other 2 are set to no longer required.

 

Business requirements are for 1 user from each group to approve. The groups are different each time as it varies depending on the details of the request. What is the best way to achieve this? This is what I have so far.

 

thrsdy1512_1-1737474650912.png

 

4 REPLIES 4

Ankur Bawiskar
Tera Patron
Tera Patron

@thrsdy1512 

you will have to use scripted approval, check this

Scripted Approvals in Flow Designer with Flow Variables 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@thrsdy1512 

Hope you are doing good.

Did my reply answer your question?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@thrsdy1512 

Hope you are doing good.

Did my reply answer your question?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Dubz
Mega Sage

There are 2 other methods of achieving this without scripting the approvals:

 

1. abstract your approvals to tasks, this is covered in a KB article here and a community article here 

2. you can delete the group approval listener records from the sys_flow_group_approval_listener_reference table. You then need to build logic into your flow to check for pending approvals each time an approval is completed. This means setting a flow variable to the sys_mod_count on the parent change and waiting until the sys_mod_count is greater than that value (it will increment each time an approval is submitted). Then you need to check for rejections and approvals and take appropriate action in the flow as the approval action is effectively being bypassed.