Approval based on list collector value

kun1
Tera Expert

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?

 

 

16 REPLIES 16

Harsh Vardhan
Giga Patron

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());

Could you please elaborate it..

 

I have a field named Which access do you need(List collector type). it select max three values and all values have their own approver. How can we add approver based on that value?

 

find_real_file.png

can you confirm, do you want "approval user activity" after the if activity ? can you confirm currently how your workflow is working 

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.