ServiceNow Flow Designer Approval

Vasu2
Tera Contributor

Hi

 

I have a catalog Item where I have a List collector variable referencing to a custom table A, I need some help in flow designer Approval process, where for every selected values from List collector we need to look into the another custom table B, when we search in custom table B by taking Table A value, we will get some 3 to 4 records with matching name and in each record there will be a userID field.

when the catalog Item is submitted the approval should go to all the users in table B associated with each List collector name from table A, the approval for each List collector variable is independent, the approval should goes to all the users for every selected list collector value and for all the List collector values at a time. For each List collector value any user associated with that List collector value in Table B can approve or reject.

 

Can any one help with the logic in flow designer

 

Thanks in Advance 

9 REPLIES 9

@Vasu2 

So if 5 records are selected in list collector and each has 1 group

so total 5 groups

You are getting members of those 5 groups and then setting that in Ask for approval

OR

You are simply putting approval for those 5 groups using the script?

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

Hi @Ankur Bawiskar ,

I am trying to loop through each group and send the approval independently for each group but all the groups approvals at a time.

For example, if there are 5 groups in the List collector, I am trying to loop all the 5 groups in for each condition and ask the approval one after the other in another for each condition like in the attached scrrenshot.
Correct me if the approach is not correct.


Thanks in advance

Vasu2
Tera Contributor

Hi @Ankur Bawiskar ,

I modified the flow like the below screenshot, the approval is going one after group after the other not all groups at a time.

I am trying to send the approvals for all the groups at a time and for each group the approval is independent anyone in that group can approve/Reject
Please fine the attached screenshot


Thanks,
Vasu

@Vasu2 

why are you iterating and sending approval for group?

Why not combine all the approver groups and use the scripted approval?

 

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

Hi @Ankur Bawiskar ,

because I want to send the approvals for all the groups users at a time, for example if there are 5 groups and in each group having 3 users then all the 15 approvals should have to go once and for the particular group any one in the 3 users in that group can approve or deny. If I send all the approvals with out iterating then I am thinking we can not distinguish who are the 3 users in that group that can approve/reject

 

Thanks in Advance