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

Retrieve email addres from approval summary

Hi all,

 

I need the name of all approvers that reject an approval when creating an approval step in Flow, where all approvers have to approve.

 

First of all, I am neither a programmer nor close to it. I hardly work with expressions, so please be as beginner friendly as possible 😉

 

We assume a list, let it be bills, where any new entry has to be approved by multiple approvers (all board members). So I created a flow with modern approval of the kind "Every approver needs to approve". As long as everybody approves, no problem, but as soon as one does not, I need the name of the person, that did not approve including the comment he might have left in the comment section.

Unfortunatly the names of the approvers are only stored in the approval summary as plain text (maybe I am wrong, could not find it anywhere else by now), so how can I retrieve the name of the "not approver" to send this back to the requestor?

 

Any help appreciated

 

Cheers

 

ingo

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Retrieve email addres from approval summary

Hi @IngoTSV,

 

I have no idea to retrieve the name of the "Not Approver" from the Approval Summary dynamic content of "Start an approval" action in Microsoft Flow currently, but you could consider take a try with the following workaround as an alternative way.

 

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

  • Add a proper trigger, here I use Flow Button trigger.
  • Add a "Start an approval" action, specify Assigned to field value.
  • Add a "Apply to each" action, input parameter set to Responses dynamic content of the "Start an approval" action.
  • Within "Apply to each" action, add a Condition, left input box set to Approver response dynamic content of "Start an approval" action, right input box set to Reject. Within middle drop down, choose is equal to.

         Within "If/yes" branch of Condition, add a "Send an email" action.

 

Image reference:8.JPG

 

9.JPG

The flow works successfully as below:10.JPG

 

11.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: Retrieve email addres from approval summary

Hi @IngoTSV,

 

I have no idea to retrieve the name of the "Not Approver" from the Approval Summary dynamic content of "Start an approval" action in Microsoft Flow currently, but you could consider take a try with the following workaround as an alternative way.

 

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

  • Add a proper trigger, here I use Flow Button trigger.
  • Add a "Start an approval" action, specify Assigned to field value.
  • Add a "Apply to each" action, input parameter set to Responses dynamic content of the "Start an approval" action.
  • Within "Apply to each" action, add a Condition, left input box set to Approver response dynamic content of "Start an approval" action, right input box set to Reject. Within middle drop down, choose is equal to.

         Within "If/yes" branch of Condition, add a "Send an email" action.

 

Image reference:8.JPG

 

9.JPG

The flow works successfully as below:10.JPG

 

11.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

IngoTSV
Level: Powered On

Re: Retrieve email addres from approval summary

Hi Chris,

 

I think some of the fields that are available now, must have been added very recently. I am pretty sure a field "Approver name" and "Approver email address" were not available, when I tried to figure this out last time. But I am happy with the solution and it is exactly, what I will do. So thank you very much for your help!!!

 

Cheers

 

Ingo

Helpful resources

Announcements
firstImage

Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!

firstImage

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

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!

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 Solution Authors
Top Kudoed Authors
Users online (6,261)