Flow Designer approvers from list collector field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-07-2019 01:39 PM
We have a list collector on our business service form for Business Approver, used to identify approvers that are not part of a specific group.
In my flow, I add Ask For Approval, then in the Rules, add Approve When: Anyone approves and try to drag the Business Approver value from the Requested Item Record > Business Service.
Nothing appears to happen when I drop the Business Approver on to the rule. Business Approver does not have an arrow next to it in the Data column so I can assume the limitation is that it is not a Reference field. How would I be able to access the entries in this list collector to request approval?
- Labels:
-
flow designer

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-09-2019 10:02 PM
Hello,
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(",");
for(var i=0; i< list.length; i++){
answer.push(list[i]); // push each approval groups
}
for more information refer below links:
Please mark correct & helpful; if it's useful to you.
Thanks & Regards,
Pooja Devkar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-12-2019 05:48 AM
Pooja,
Thank you for your reply. Unfortunately, I'm looking for guidance in the Flow Designer, not in a workflow.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-10-2019 11:53 PM
Hello,
Are you able to use flow designer for triggering approvals to list? I also want to achieve the same.
BR,
Jai
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-11-2019 07:26 AM
Jaikumar,
Unfortunately, I have not. It's too bad. If SN doesn't fix this, we will never be able to use flow designer for catalog requests, which means we won't likely put effort into using it for anything else.