Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Need help with Approval Rulesets in Flow Designer

Rajini2
Mega Sage

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

5 REPLIES 5

Is var_access_approver a variable on the catalog item? If that is a single variable with all approvals, how do you not which users in that list collector are for which resource type?