cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Highlighted
Super User II
Super User II

Re: Flow senging multiple emails

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

Highlighted
Super User II
Super User II

Re: Flow senging multiple emails

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

 

 

Highlighted
Frequent Visitor

Re: Flow senging multiple emails

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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Upcoming Events

Experience what’s next for Power Automate

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Users online (7,291)