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

flow will net send original form submitter an email once an approval has been confirmed?

Hi all 

 

I've created a flow that allows a user to complete a form to take equipment abroad, based on the reasons for travel the form changes who this email gets sent to for approval. the issue I'm having is once all of the above has been completed it will not send the person who has made the request  an email confirming the approval. The issue is after condition 2Capture2.PNGCapture3.PNG

 

the whole approval process up until sending the email response is working correctly, any ideas?

3 REPLIES 3
Super User
Super User

Re: flow will net send original form submitter an email once an approval has been confirmed?

@MalphasFC  the approval decision won't send an email to the original submitter automatically. There are a couple of methods:

1) after the start and wait for an approval have a condition that checks if the Outcome is equal to Approve. If it is send an email to the responder's email selected from the dynamic content. If rejected send a different email.

2) if you want an audit trail then save the original response into a SharePoint list and have additional details for the responder's email, the approval decision, the decision date and the the approver. Then after the start and wait for an approval you'd have a SharePoint update item action which would save the Outcome and other info back to the SharePoint list. Then you'd have a send an email action to send the decision back to the original submitter.

I've added an example of this in the images below:

0-trigger.png

 

1-Condition.png

 

2-Update.png

 

3-SendEmail.png

Rob

Los Gallardos
If I've answered your question or solved your problem, please mark this question as answered. This helps others who have the same question find a solution quickly via the forum search. If you liked my response, please consider giving it a thumbs up. Thanks.

Dual Super User
Dual Super User

Re: flow will net send original form submitter an email once an approval has been confirmed?

Hey @MalphasFC 

 

Can you share more details on the error that you are getting? For some reason I see extra apply to each loop in you flow that you need to get rid of for the email action. You can use the join function to join all the email ids and send email in a single action as shown below:

ee3.PNG

 

Expression: 

join(body('Start_and_wait_for_an_approval')?['responses']?['responder']?['email'],';')

 

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

Community Support Team
Community Support Team

Re: flow will net send original form submitter an email once an approval has been confirmed?

 

Hi @MalphasFC , were the suggestions above able to help you with your issue?

Please take a try.

 

The suggestion I can provide is that you can remove Apply to each outside of Get response details action.

You can directly configure the Get response details action to get the response.

Like:

20.PNG

Hope this helps you.

 

Best Regards,

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

Helpful resources

Announcements
firstImage

Better Together Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

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

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (9,571)