Service Catalog List Collector Approval using Flow Designer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2020 11:43 AM
Hello hope everyone is healthy, I have a requirement to send approval if one value is selected in list collector variable. So if user select value a plus other values send approval to approval group. If value a is not selected skip approvals. Also wondering if this can be done in ask for approval action in flow. Thanks for the assistance!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2020 10:57 PM
Hey
Chad Wilhelm,
Refer below link
Please mark my comment correct and helpful if you feel like.
Thanks
Tanushree

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2020 12:20 AM
hi Chad Wilhelm,
You can access the list collector values in your workflow, It should return a list of comma separated list of sys_id.
If your list collector is referring to group table then you can add the following script in the advanced script of approval group activity
var answer = [];
var collector = current.variables.list_collector_variable.toString(); // (Replace list_collector_variable with your variable name)
var list = collector.split(",");// return a list of comma separated list.
for(var i=0; i< list.length; i++){
answer.push(list[i]); // push each approval groups
}
for more detail refer the following link.
If it help mark helpful or correct
Thanks and regards
Anil