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 2
the whole approval process up until sending the email response is working correctly, any ideas?
@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:
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.
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:
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!
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:
Hope this helps you.
Best Regards,
Join digitally, March 2โ4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!
User | Count |
---|---|
85 | |
58 | |
49 | |
42 | |
35 |
User | Count |
---|---|
91 | |
76 | |
74 | |
60 | |
42 |