Hi i'm new to the microsoft flow is there i way to make comments mandatory while approving or rejecting, right now i'm getting the comments as optional.If its possible to make it mandatory it will helpful if you give me a link or something which shows how its done.
Thanks in advance.
Do you want to force users entering comments while approving or rejecting an approval email?
I agree with @Pieter_Veenstra's thought almost, if you want to enforce users entering comments while approving or rejecting an approval email directly, I afraid that there is no way to achieve your needs. If you would like this feature to be added in Microsoft Flow, please submit an idea to Flow Ideas Forum:
In addition, you could consider take a try with the following workaround as an alternative solution:
Within "Do Until" action, add a "Send an email" action, To field set to Approver email dynamic content of the "Start an approval" action. Then add a "Start an approval 2" action, specify Assigned to field.
The flow works successfully as below:
The user @lreinhard7 has faced same issue with you, please check the following thread:
If anyone else was struggling with this while using the "Stop and wait for an approval" action, make sure to set "Approval Type" to "Approve/Reject - First to respond".
If your workflow requires "Everyone must approve" then you will need to append comment to a string and have the Do Until loop check its length in order to achieve this workaround.
The reason is, each reponse's comments are stored in an array. So you can't just check
Also, you can get rid of the second check and just use one Do Until loop. Makes it a bit cleaner.
Yes, that's how mine is setup. You can adjust the do until logic to check also for Response is Approve or Response is Reject and Comment is not null. Again keep in mind this if for "First to approve". You will still have to append responses to an array and check length for parallel approvals.
Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.
Fill out a quick form to claim your user group badge now!
We've given our badges an overhaul and also added some brand new ones!
Learn how to build the business apps that you need.
Find out where you can attend!
Watch & learn from the Power Automate Community Video Gallery!