I did a query list Workflow Task in the end and used the GUID = ApproveTaskId . The comments appear to come back in a collectication var with a single entry.
Daniel
I also struggled with the list lookup method you described in your first post. Turns out, the task field you want to store in a variable is called "Comments", not "Approver Comments".
However, when configuring the Set a variable action, you'll notice there is no "Comments" field in the drop down.
To get round this, publish the workflow, run it so it creates the task at least once and then open your workflow in the designer. You'll notice the "Comments" field now appears on that same action.
I thought I followed you on this but it does not seem to be working. On the task, I set the task item ID to a text field (txt_LegalTaskID)
when updating the comment field in my list (LegalComment) I lookup from the Workflow Task list the Comments field where GUID = txt_LegalTaskID
Nothing is returned.
Try not using that sort of comparison, as I doubt it will work (GUID field holds different information than ID).
Instead try getting list of tasks generated by the action looking them up by InstanceId = WorkflowContext.InstanceId
Regards,
Tomasz