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

Approval workflow capturing comments from approvers email

I have spent many hours searching and reading posts and I'm not able to get what I want working.

 

I need an approval workflow that will capture the approvers' comments they enter in the approval request email they receive and save them with the SP item that was approved/rejected.  I have it now so that I at least can capture the names of the approvers but can't seem to find the right post that will get me what I need.

 

Thank you, anyone that can help me, and all who are reading this possible duplicative post!!

routing flow part 1.pngrouting flow part 2.pngrouting flow part 3.pngrouting flow response on sp.pngsubmitting approval with comments.png

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: Approval workflow capturing comments from approvers email

@Yoshio 

My example below should help you out.

First, I initialize a string variable near the top of my Flow.

After the approval takes place, I loop through each of the comments and append them to a string variable along with the approvers name.  Finally, I reference the string variable when I update the SharePoint list item.

Let me know if this solves your problem.

Comments1.jpgComments2.jpgComments3.jpg

 

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

View solution in original post

9 REPLIES 9
Super User
Super User

Re: Approval workflow capturing comments from approvers email

@Yoshio 

My example below should help you out.

First, I initialize a string variable near the top of my Flow.

After the approval takes place, I loop through each of the comments and append them to a string variable along with the approvers name.  Finally, I reference the string variable when I update the SharePoint list item.

Let me know if this solves your problem.

Comments1.jpgComments2.jpgComments3.jpg

 

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

View solution in original post

Dual Super User
Dual Super User

Re: Approval workflow capturing comments from approvers email

Instead of doing your Loop based on Approvers, do it based on Responses.  That is the collection that holds the responses coming back from the approval.  Look for the Responses Comments  and Responses Approver Name in the dynamic content inside the Loop.  Those are the fields hou want to record.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
Yoshio
Level: Powered On

Re: Approval workflow capturing comments from approvers email

I do not have "Responses" in my dynamic content.  This is the problem I keep running into.  I don't have all the aspects of the solutions that I see online.  So I am at a loss

Yoshio
Level: Powered On

Re: Approval workflow capturing comments from approvers email

Thank you.  I don't have the "check for outcome" available so am not sure how to proceed from that step.

Yoshio
Level: Powered On

Re: Approval workflow capturing comments from approvers email

Sorry to be rude...thank you for your advice and taking the time to help me.

Super User
Super User

Re: Approval workflow capturing comments from approvers email

@Yoshio 

I believe your issue is that you are using Create an Approval rather than Start and Wait for an Approval.  I suggest re-writing your Flow to use Start and Wait for an Approval unless you have a specific reason for using Create an Approval.

If you choose to use Create an Approval, insert a wait for an Approval action immediately after the Create Approval action.  After you do so (assuming that you configure it properly), you should see what you need in Dynamic properties.

 

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott
Dual Super User
Dual Super User

Re: Approval workflow capturing comments from approvers email

Taking another look at your Flow, I think you may be trying to build it off a Template that uses an older Approval action that has been discontinued.  Replace the current Create and Approval action in your Flow with Start and Wait for an Approval (V2) that will have the responses objects in it.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
Yoshio
Level: Powered On

Re: Approval workflow capturing comments from approvers email

yes!  Thank you so much!  It's working now! 🙂

Yoshio
Level: Powered On

Re: Approval workflow capturing comments from approvers email

Thank you SO MUCH!  I got it to work!  I marked it as the solution too.

 

you are the best!

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 103 members 5,287 guests
Please welcome our newest community members: