How to trigger an approval to group through flow designer

Naresh_5120
Tera Contributor

Hi Community,

 

I hope you’re all doing well.

 

I need assistance in setting up a service catalog item approval workflow. The requirement is as follows:

  • If the requestor's email domain is @abc.com, the approval should be routed to the Hardware Approver Group.
  • If the requestor's email domain is not @abc.com, the approval should be sent to their line manager.

Here’s a summary of the workflow:

  1. If the requestor is NOT @abc.com: Trigger approval to the line manager.
  2. If the requestor is @abc.com: Trigger approval to the Hardware Approvers group.

Could someone please guide me on how to achieve this using Flow Designer? Your help would be greatly appreciated!

 

Regards,

Naresh

2 ACCEPTED SOLUTIONS

Ashish Parab
Mega Sage

@Naresh_5120 ,

 

You can do this by checking if the requester’s email contains @abc.com. If it does, use the 'Ask for Approval' action and add your approval group.

 

ashish_parab_0-1731396324481.png

 

Please mark this as "correct" and "helpful" if you feel this answer helped you in anyway.

 

Thanks and Regards,

Ashish

 

View solution in original post

Hey @Naresh_5120 

 

Configure as shown in the screenshots below.

 

1. If Email does not contains @abc.com

ashish_parab_0-1731486045895.png

 

2. If email contains @abc.com you can add Any group

ashish_parab_1-1731486280081.png

 

Please mark this as "correct" and "helpful" if you feel this answer helped you in anyway.

 

Thanks and Regards,

Ashish

 

 

 

View solution in original post

6 REPLIES 6

Ashish Parab
Mega Sage

@Naresh_5120 ,

 

You can do this by checking if the requester’s email contains @abc.com. If it does, use the 'Ask for Approval' action and add your approval group.

 

ashish_parab_0-1731396324481.png

 

Please mark this as "correct" and "helpful" if you feel this answer helped you in anyway.

 

Thanks and Regards,

Ashish

 

Dear @Ashish Parab ,

 

Yes, thank you, as per your instruction i could create the if condition and checked if requestor email contain @abc.com , however i am not able to add approval group in Ask for approval action in then condition

Hey @Naresh_5120 

 

Configure as shown in the screenshots below.

 

1. If Email does not contains @abc.com

ashish_parab_0-1731486045895.png

 

2. If email contains @abc.com you can add Any group

ashish_parab_1-1731486280081.png

 

Please mark this as "correct" and "helpful" if you feel this answer helped you in anyway.

 

Thanks and Regards,

Ashish

 

 

 

palanikumar
Mega Sage

Hope requestor is reference variable. You can use if condition to the requestor variable and using dot walking you can refer the email field of the user and check whether it contains @abc.com or not 

Thank you,
Palani