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. 

View solution in original post

Hi @bsridhar :

Glad to hear that you solved this problem.

Thanks for sharing the solution.

Best Regards,

Bof

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Top Solution Authors
Users online (959)