How to set an approval condition in flow designer?

Jesus Nava
Tera Guru

Hello experts, please I need your guidance, I created a new field in the user table called "Delegate" this field is populated in the users that are managers:

JesusNava_0-1673034007948.png

I created a flow in which I need approvals, the rule is the following: if the user's manager has a delegate, then the approval goes to the delegate, if the user's manager has no delegates, then the approval goes to the user's manager.

I tried doing it like this:

JesusNava_1-1673034260356.png

first approver the user's manager's delegate, 

or 

second approver the user's manager

I did it this way but if both conditions are true, I get both approvers, what I need is just one, the delegate or the manager but not both.

how can this be done?

Thank you in advanced

1 ACCEPTED SOLUTION

JP - Kyndryl
Kilo Sage

Hi Jesus,

I would include an IF statement to check if the user's manager has a delegate, and if so, request the approval from that delegate.

ELSE,  fire the user's manager approval request.

 

 

Regards,
JP

View solution in original post

4 REPLIES 4

JP - Kyndryl
Kilo Sage

Hi Jesus,

I would include an IF statement to check if the user's manager has a delegate, and if so, request the approval from that delegate.

ELSE,  fire the user's manager approval request.

 

 

Regards,
JP

Thank you!!!

mattystern
Kilo Sage

Hi Jesus,

 

I think you may be able to use flow logic for this and then trigger the approval based on an IF activity instead, like so:

mattystern_0-1673036881087.png

 

Thank you!!