We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

How to trigger approvals based on multi row variable set values

Meenal1
Tera Contributor

Hi Team,

 

How to trigger approvals based on Multi Row variable values ?I have a requirement where user can select multi System IDs and based on that it show trigger approval in the flow designer and once approved appropiate catalog task should open. To get approval user and assignment group I have create a custom matrix table based on country region environment and system ID appropriate approval should trigger But If the approval is triggered to the same user then only trigger 1 approval for that.

 

Similarly once approved it should create catalog task if the assignment group is same for multiple system Id then it should trigger only 1 catalog task , but if it is triggered to fifferent group than create 2 tasks.

 

 

Example MrvS: system Dev 21 - approver abc

                     system QQ31 - approver abc 

                     system dev12 - approver xyz (in this case it should trigger 1st approval to abc and 2nd to xyz) it should create two approvals for abc.

Similary for catalog task.

 

Kindly help to design this. I'm using flow designer for the same currently i'm not able to avoid same approvals 

 

my flow snippet

Best Regards,

meenal 

          

7 REPLIES 7

Hi @Yash

 

I am able to deduplicate the values now I'm getting array of sysids in this format["sys_id1","sysid2"] how doI trigger approval to all approvers from array list parrallel currently it is triggering sequentially. I need it parallely so if anyone of this approve should go to next level.

 

Best Regards,

Meenal

Ankur Bawiskar
Tera Patron

@Meenal1 

why are you using custom table to store the approval details?

You can use Decision Table

💡 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  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Meenal1
Tera Contributor

I'm also getting and validating few values in catalog form that's why I am using custom table