cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
randalloglesby
Level: Powered On

Creating an action based on multiple approval structures

I'm trying to set up an approval structure that allows for all the approved flows to combine back into one. Here is the structure I'm trying to accomplish:

 

Blank condition.jpg

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Creating an action based on multiple approval structures

Hi @randalloglesby,

 

Could you please share a full screenshot of your flow's configuration?

Do you want to combine the two "If/yes" branches into the next "Start a approval" action?

 

If you want to combine the two "If/yes" branches into the next "Start a approval" action, you could consider take a try to add a Condition before the next Approval to check if the Job Title dynamic content of the "Get manager (V2)" action is equal to CEO or the Response dynamic content of the Manager Approval action is equal to Approve.

 

I have made a test on my side and please take a try with the following workaround:11.JPG

 

12.JPG

Within the Condition 3 box (New added Condition), click "Edit in advanced mode", type the following formula:

@or(equals(body('Get_manager_(V2)')?['jobTitle'], 'CEO'),equals(body('Manager_Approval')?['response'], 'Approve'))

 

Best regards,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Community Support Team
Community Support Team

Re: Creating an action based on multiple approval structures

Hi @randalloglesby,

 

Could you please share a full screenshot of your flow's configuration?

Do you want to combine the two "If/yes" branches into the next "Start a approval" action?

 

If you want to combine the two "If/yes" branches into the next "Start a approval" action, you could consider take a try to add a Condition before the next Approval to check if the Job Title dynamic content of the "Get manager (V2)" action is equal to CEO or the Response dynamic content of the Manager Approval action is equal to Approve.

 

I have made a test on my side and please take a try with the following workaround:11.JPG

 

12.JPG

Within the Condition 3 box (New added Condition), click "Edit in advanced mode", type the following formula:

@or(equals(body('Get_manager_(V2)')?['jobTitle'], 'CEO'),equals(body('Manager_Approval')?['response'], 'Approve'))

 

Best regards,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

randalloglesby
Level: Powered On

Re: Creating an action based on multiple approval structures

Hi Kris, 

 

Thank you for helping on my last issue. Management has raised some concerns with the flow that I created, and we'd like to replace the Get Manager / Job Title to a condition that sorts out if the user has any direct reports.

 

If an employee has direct reports, then we'd like them to skip the manager approval step previously outlined. Is this possible?

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (5,539)