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

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
Frequent Visitor

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
Frequent Visitor

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
Frequent Visitor

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
Highlighted
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
Frequent Visitor

Re: Approval workflow capturing comments from approvers email

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

Yoshio
Frequent Visitor

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
MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Automate Community!

firstImage

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

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

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Users online (7,570)