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-09-2019 08:07 AM
assuming you have an workflow attached with your catalog item
here you can use two user approval activity in your workflow , first will be for manager and second one will be for list collector.
answer.push(current.variables.listcollectorvariablename.toString());
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2019 08:19 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2019 08:22 AM
can you confirm, do you want "approval user activity" after the if activity ? can you confirm currently how your workflow is working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2019 08:28 AM
I have created a variable named"ABC" which is list collector type and create a new table which contains the value. Variable ABC refer to the newly created table.
Now, we have to set the approver based on the value which i have created in the newly created table.
If variable(List collector( is XYZ(value of the new created table) then approver is MNO
If variable is PQL then approval is MNP
If variable is XYZ and POL then approval are MNO and MNP.