cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
vish_p
Level 8

Getting approval response from switch case which got executed

Hey All,

 

I am creating a approval flow,so when a user submits a response on ms form a switch case is executed in the flow and based upon the condition appropriate case (which is an approval mail) will get executed,now the issue is i need the response of the approval mail from the case which got executed to put in the next action ,how to do it please help !!

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Getting approval response from switch case which got executed

Hi @vish_p,

 

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

Where do you add your next action after the switch case action?

 

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

  • Add a "When a new response is submitted" trigger.
  • Add a "Apply to each", Input parameter set to output of the trigger.
  • Within "Apply to each", add a "Get response details" action, specify Form Id, Response Id field set to Response Id dynamic content of the trigger.

Add a "Switch case" action, On field set to a specific dynamic content of "Get response details" action.

 

  • Within Case branch, add a "Send approval email" action.

Image reference:11.JPG

I assume that the Case 2 branch would get executed, if you want to get the response of the approval mail, you could add the next action as below (add your next action within Case 2 branch):12.JPG

Or you could add your next action under Switch case action (Within "Apply to each" action😞

 

13.JPG

 

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: Getting approval response from switch case which got executed

Hi @vish_p,

 

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

Where do you add your next action after the switch case action?

 

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

  • Add a "When a new response is submitted" trigger.
  • Add a "Apply to each", Input parameter set to output of the trigger.
  • Within "Apply to each", add a "Get response details" action, specify Form Id, Response Id field set to Response Id dynamic content of the trigger.

Add a "Switch case" action, On field set to a specific dynamic content of "Get response details" action.

 

  • Within Case branch, add a "Send approval email" action.

Image reference:11.JPG

I assume that the Case 2 branch would get executed, if you want to get the response of the approval mail, you could add the next action as below (add your next action within Case 2 branch):12.JPG

Or you could add your next action under Switch case action (Within "Apply to each" action😞

 

13.JPG

 

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

vish_p
Level 8

Re: Getting approval response from switch case which got executed

Thanks Kris,this workaround is what i have applied now..thanx again 🙂

Helpful resources

Announcements
firstImage

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

firstImage

Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

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

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Users online (5,674)