Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

Workflow Tasks List

$
0
0

In the workflow I create a task.  The assignee then Edits the Task.  There is a text box where they enter comments and then select Approve or Reject.   The comments are saved in the Workflow Tasks list.  The list ID happens to be 120.  In the statement following the task I send an email and I'd like to embed the comments.  Using Add or Change Lookup in the Define an E-mail in the body section I select

DataSource: Workflow Tasks

Field from source:  Reject Comments

Under "Find the List Item"  I cannot find a matching field/value to return the list ID.  I've tried "Workflow Context", "Current Item", "Current List" etc....   Nothing seems to contain a column where it would return the value needed to lookup the Workflow Task (ie.. 120 in my example above). 

Setting the value hardcoded to 120, returns the info.  Obviously that is useless.

Anyone know how to retrieve the Workflow Task List ID for the current workflow instance?

Thanks.

Tom



Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>