Flow Designer Trigger Condition

Dileep2
Tera Contributor

Hi All,

 

I have created new Catalog item with 3 variables Manager, Primary Manager and Secondary Manager. I have to create flow designer with the below condition. Please suggest.

1. Create RITM approval task for each ACTIVE user who reports to reporting manager. Only non-Vlyi/KNS accounts are in scope (users).

2. Requestor/requested by can be anyone

3. Reporting manager can be Vlyi(ravi@vlyi.com) or KNS (rithesh@kns.com)

4. Managers can have a team and that team users cannot be Vlyi or KNS.

Thank you

6 REPLIES 6

Sohail Ahmed
Tera Guru

Hi @Dileep2 ,

1. Trigger: Service catalog (WHEN REQ IS CREATED)
2. Get Reporting Manager from Catalog Item variable.
3. If Reporting Manager is Vlyi or KNS, exit the flow or handle it differently.
4. Get all users who report to the Reporting Manager and are ACTIVE.
5. Filter out users who have email domain 'vlyi.com' or 'kns.com'.
6. Loop through each eligible user.
7. For each user:
- Create Approval Task for the user.
8. End flow.

Shivalika
Mega Sage

Hello @Dileep2 

 

@Sohail Ahmed  already directed the way you should go. So basically trigger conditions can only be Service Catalog. Further to that you need to get all the information and handle it in If Else blocks for the flow to continue or end. There's no other way round. 

 

Kindly mark my answer as helpful and accept solution if it helped you in anyway,

 

Regards,

Shivalika 

 

My LinkedIn - https://www.linkedin.com/in/shivalika-gupta-540346194

 

My youtube - https://youtube.com/playlist?list=PLsHuNzTdkE5Cn4PyS7HdV0Vg8JsfdgQlA&si=0WynLcOwNeEISQCY