Flow Designer Scripted Approvals in sent in Parallel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2023 06:08 AM
I have a service catalog that allows our organization to submit requests for users to obtain access to ServiceNow via assignment group. Each assignment group has a different manager that must provide their approval before the user is granted SNOW access.
My form is very simple. It has a first name last name field. It has a list of ServiceNow assignment groups that the submitter will choose that the new user shall be part of.
I first convert the list collector for the approval groups to an array. Then use a for loop to iterate over each selected group. I then use the scripted approval to look up the manager and return in the field for ApprovesRejectsAnyU.
The problem I am having is that the for loop does not continue to the next iteration until an approval is approved/rejected, the flow simply says "waiting". I need the approvals to all be sent in parallel.
My Flow designer code is as follows for scripted approval action: