Skip to main content

Here's my task - I have a list that contains multiple approval sections.  


I'm supposed to take the comments (also called "Approver Comments", I believe) from the Workflow Tasks List for each approval, and paste them into the comments section of the parent list (which has versioning activated and has comments appended).  So far, I've had no success in being able to take the comments and paste them to the other list.  What can I do to make this happen?

Hi,

When a Task completes one of the things it can return is the Task ID.
In a Flexi Task you need to put an Integer variable into the "Store task IDs in" field to capture the ID.
You can now set a variable that looks up the Task List Field ApproverComments Where ID is equal to the Variable storing the task ID and capture the comments in a Multi Lines of text Variable.
Then use an Update Item action to update the current item with the Comments.

@SimonMuntz Thank you.  Here is what I have in my workflow portion.  Will this work?9506iE9947348D877D409.jpg


That looks correct.

@danjact @SimonMuntz another option is to click "Insert Reference" --> Common --> Approver Comments and Last Task Respondent Display Name.


you can also create a workflow variable called "WFtaskComments" or whatever name you feel comfortable with and in the flexi task connect your comment box to that variable, then in the workflow you can create an update item action that will set the list column equal to that variable, don't forget to add a "commit pending actions" after the item update action 


@SimonMuntz  Ok, this does indeed put the comments into the main list item.  One thing I did notice is that when the item (in the main list) is modified, the "Modified By"  - The area that shows who made the comment, shows the original list item creator, and not the person that made the comment.  Is there any way to change this so that the person who made the comment is the one whose name shows up?


Thank you! Once I ready this (twice), I got the "In the Flexi Task" - add the integer variable into Store Task ID - and this worked perfectly.

Reply