AnsweredAssumed Answered

How do I read the Task ID

Question asked by brentkastner on Mar 15, 2007
Latest reply on Feb 2, 2011 by chicco0386
Hi folks,

I have written a workflow that sends email to reviewers along with actionable links.  The email is being sent fine, but I can't seem to extract the taskid from workflow process variables.  Here is an example of my code

mail.parameters.text = "Please review and if you like the changes, approve this task.  You can click here http://localhost:8080/alfresco/command/task/end/jbpm$" + bpm_taskId + "/approve to instantly approve.";

You will note the bpm_taskId variable.  This does not work.  I have tried many iterations and other variables but can't seem to find the task ID.  Other variables work fine in this block (such as workflowDescription, initiator, etc).  Does anyone know the variable name for the taskid?  Or where this might be documented?  The wiki does not have the information I need.

Brent Kastner