how i can check in flow designer for manager of manger approval

padma devi
Tera Contributor

I want to send an approval in flow designer if requester is not the manager of requested for and also want to check if manager is not active then it should check manager of manager with active state in loop and again if manager of manager is not active then it check for next level.

3 REPLIES 3

KB18
Tera Guru
Tera Guru

Dear @padma devi 

 

I believe your flow designer is.working on the table from there you will get a value of requestor.

 

Check in the IF condition

 

If (Requestor_For.manager is not empty && requestor_for.manager.active == true)

SendApproval

Else if(

Requestor_For.manager.manager is not empty && requestor_for.manager.manager.active == true)

SendApproval

Please hit the thumb Icon and mark as correct in case I help you with your query!!!
- Kailas

padma devi
Tera Contributor

Hi,

Thanks for the solution but i want it in loop, here for the conditon

"Requestor_For.manager.manager is not empty && requestor_for.manager.manager.active == true"

if active is false then it will not run for next manager level approver.

I want to check for next level until both condition true if false then it should check next level manager.

Dear @padma devi  

 

You have to write a logic do while and execute the script until active = false. If you want to check next record skip the active = false record and go to next record to execute 

Please hit the thumb Icon and mark as correct in case I help you with your query!!!
- Kailas