AnsweredAssumed Answered

How to fetch task id in alfresco activiti

Question asked by younis15 on Oct 27, 2011
Hello

I need to know how to fetch the task id from within a BPMN process. I tried the followings without luck:

<serviceTask id="assignApplicationId" name="Assign Application Id" 
  activiti:expression="${sequenceUtil.getOutboundId(**task.id**)}"
  activiti:resultVariable="OutboundWF_ApplicationNumber"/>

and

<serviceTask id="assignApplicationId" name="Assign Application Id" 
  activiti:expression="${sequenceUtil.getOutboundId(**bpm_taskid**)}"
  activiti:resultVariable="OutboundWF_ApplicationNumber"/>

Outcomes