Approval based on list collector value
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2019 08:03 AM
Hi All,
I have created a variable as a list collector type and create a new table(contains value) which refer to the list collector variable.
Requirement is to attached the two level approval. First approval is the Requested for manager(Done) and second one is depend on list collector value.(If i selected more than one value in the list collector then it go for multiple approval). How can we attach approval based on list collector variable?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2019 01:12 AM
Hi Harsh,
Any update!!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2019 02:40 AM
you can use switch activity on your workflow. and then based on the result you can set the transition to approval activity.
before adding the switch activity store your list collector variable value in workflow scratchpad and then you can reuse it inside your approval activity.
worfklow.scratchpad.lap = current.variables.variable_name;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2019 03:43 AM
HI Harsh,
I achieved this by a script written in "Approval user" activity but need one clarification.
I have selected two list collector named A and B.
A have two approvers and both are end user
B have two approvers and both are end user.
Is it possible if A is approved by their respective user then for other user it say no longer required but for B it say requested?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2019 03:57 AM
you can use here wait for option "Condition based on script" , here you will determine the result and based on that you can do further steps.
go through the below link for further details.
https://www.servicenowguru.com/graphical-workflow/approval-percentage/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2019 04:05 AM
Could you please provide me some basic logic for this.
I selected three value (A, B and C) in my list collector.
A have two approvals and both are end user or from diff group.
B also have two approval and both are end user and from diff group
C have one approval.
For A two approval are attahed in RITM, If one approval approved it the for second it say no longer required but B and C approvers still in Requested state