I'm working with a SP '13 designer workflow which is simple. One approval task was created for a user. After this approval task, I need a email which states comments and a notification of approval or rejection. I'm unable to find a look-up which post the approver's comments in the notification email after the task. I have tested almost every look up available in designer, and they either come up blank or cause my workflow to error. I'm able to see the comments in the hidden history list as well as the task list, but I need to have them included in the notification email after the task has been completed( look-ups to the columns in these list still aren't working).
As u said ur using an sp2013 custom wf. So, lets follow some steps to get the easy solution.
- Create a column as named 'parentId' in task list.
- When ur emailing with the approver msg, get the comments from the task list and to do that select the task by filtering with the parentId equal to item id.
I hope it will help. Let me know if u have any confusion.