cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
bsridhar
New Member

Power Automate- Spot Incentive multi approval process

Hi all,

 

I am building multi level approval for Employee spot incentive form. The following is the structure. 

 

1. Supervisor submits spot incentive form for employee.

2. Supervisor approves it, Approval request goes to Group Manager, if rejects, terminates the flow

3. Group Manager approves it then approval request goes to CFO, if rejects, terminates the flow

4. CFO approves it then approval request goes to CEO, if rejects, terminates the flow

5. CEO approves it then mail will be sent to accounts department.

 

Above flow is working fine. But users wanted the following modification. 

 

if supervisor is CEO then skip all the steps from 3 to 5

if supervisor is CFO then skip the steps from 3 and 4

if supervisor is Group Manager then skip the step 3.

 

How can I achieve above logic?

How can I skip the approval steps in power automate?

 

I am thinking of creating an array and store approvals in array variable and do loop. How to create multi dimensional array in power automate? need to store like { {'supervisor', xxx@email.com},{'Manager','yyyy@email.com'},{'CFO','ccc@gmail.com'}}

 

Is there any better process? Please help me out. 

 

 

 

Regads,

Sridhar

 

 

 

 

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
bsridhar
New Member

Thank you. issue has been solved. I have used approval array variable with do until loop. It is working fine now. 

View solution in original post

3 REPLIES 3
bsridhar
New Member

I have created multi dimension array for approvals based on the following conditions.

 

if supervisor is CEO add only one item to array

if supervisor is CFO then add CFO and CEO to array

if supervisor is group manager then add group manager, CFO and CEO to array

otherwise add supervisor, group manager, CFO and CEO to array.

 

then looped to array. But how to do I add create and wait for approval action in loop?

 

I mean, if supervisor approved then it should move to next item in the loop otherwise terminate the loop and stop the process. 

 

Can we write approval 

bsridhar
New Member

Thank you. issue has been solved. I have used approval array variable with do until loop. It is working fine now. 

Hi @bsridhar :

Glad to hear that you solved this problem.

Thanks for sharing the solution.

Best Regards,

Bof

Helpful resources

Announcements
 WHAT’S NEXT AT MICROSOFT IGNITE 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Register for a Free Workshop.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Users online (3,346)