cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Nintex Newbie

Trying to take "Workflow Tasks" approval comment, and add it to Comments in the associated list.

Jump to solution

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?

Labels: (1)
0 Kudos
Reply
6 Replies
Highlighted
Nintex Employee
Nintex Employee

Re: Trying to take "Workflow Tasks" approval comment, and add it to Comments in the associ

Jump to solution
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.

View solution in original post

Reply
Highlighted
Nintex Newbie

Re: Trying to take "Workflow Tasks" approval comment, and add it to Comments in the associ

Jump to solution

@SimonMuntz Thank you.  Here is what I have in my workflow portion.  Will this work?Annotation 2020-11-18 184744.jpg

0 Kudos
Reply
Highlighted
Nintex Employee
Nintex Employee

Re: Trying to take "Workflow Tasks" approval comment, and add it to Comments in the associ

Jump to solution
That looks correct.
Reply
Highlighted
Automation Master
Automation Master

Re: Trying to take "Workflow Tasks" approval comment, and add it to Comments in the associ

Jump to solution

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

0 Kudos
Reply
Highlighted
Nintex Newbie

Re: Trying to take "Workflow Tasks" approval comment, and add it to Comments in the associ

Jump to solution

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 

0 Kudos
Reply
Highlighted
Nintex Newbie

Re: Trying to take "Workflow Tasks" approval comment, and add it to Comments in the associ

Jump to solution

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

0 Kudos
Reply