Need help with Approval Rulesets in Flow Designer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2025 01:19 PM
I have a catalog request, trying to send approvals to a list of users. The approval list may contain repeated users.
Example: Lisa, Lisa, Lisa, Tom, Tom
I used this script in my flow, but the approvals are sent to the unique list: Lisa, Tom (avoiding repeated approvals).
var approvers = fd_data.flow_var.var_access_approver;
return "ApprovesResU["+approvers+"]OrRejectsAllU["+approvers+"]";
What should I do if I want approval request to send to all the users?
Ref: Scripted Approvals in Flow Designer with Flow Vari... - ServiceNow Community

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2025 01:28 PM
Why are you needing someone to approve something multiple times at the same stage? Are you actually needing to stagger these approvals into different approval levels?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2025 01:37 PM
Each approval is to access a resource. multiple resources are requested in this form.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2025 01:50 PM
But if the approvals are all in one request variable, how do you know which approvals are for which resource?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2025 01:52 PM - edited 03-03-2025 01:55 PM
I am updating the approval short description with the resource name.
I have a list collector for Resources. My flow has a for-each loop, that iterate through each resource and sends approval, also updating the short description, approval type.