cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
LavanyaSridhar
Frequent Visitor

Flow senging multiple emails

Hello, I am struck with a flow My user wants content approval on a document library. The user x uploads a document, fills in a few details and saves it.  I have a flow configured, the flow is triggered when a new file is created or modified (properties only). An email is sent to a default person that file has been uploaded. Then comes start and wait for an approval - the approver(multiple people) are selected from one of the library columns. Based on the approval status I am setting the content approval status and sending the email to the default person.  I have faced a couple of issues here, whenever I select a dynamic value column then an apply to each is automatically applied. Since there are multiple approver - there are 2 or more emails triggered. I also observed that multiple instances are created for the same request. I also want to make the reason in the approval to be a required column.  Could you please help me with these topics.  Thanks in advance.  

3 REPLIES 3
JohnAageAnderse
Super User
Super User

Hello @LavanyaSridhar 

 

I assume that you add the approver column in your Start and wait for an approval action. Don't do that, instead collect the approvers email addresses into a variable (using an Apply to each action) and then use the variable in your Start and wait for an approval action - after the Apply to each action!

If the above does not match your scenario, please provide more information/details/screenshots.

Kind regards, John

rsaikrishna
Dual Super User
Dual Super User

@LavanyaSridhar 

 

If you see your flow history, you can check the Approval action output. From the output, we can get the responder information. If you use an expression, you can get only the responder who approved the task. This will avoid the Apply to Each.

 

Regarding reason field mandatory: Unfortunately, we cannot make this field mandatory.

 

The below post discussed about Reason field:

https://powerusers.microsoft.com/t5/General-Power-Automate/Comments-Mandatory-in-Approval-flow/m-p/2...

 

Regards

Krishna Rachakonda

If this reply helped you to solve the issue, please mark the post as Accepted SolutionMarking this post as Accepted Solution, will help many other users to use this post to solve same or similar issue without re-posting the issue in the group. Saves a lot of time for everyone.

 

 

Hello John, 

 

Here is the screenshot of the steps. As you said I have put all the approver in an array. 

LavanyaSridhar_0-1592571652403.png

 

Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (1,587)