JBoss Community

Re: How to get the Task instance id ?

created by a_nat in jBPM - View the full discussion

Hi Kris,

 

i'm not sure whether ((WorkItemNodeInstance)kcontext.getNodeInstance()).getWorkItemId() will return me a unique number every time for me to uniquely identify the tasks based on it.

 

 

Im trying to complete the task using a java code (i.e., using org.jbpm.task.service.TaskClient), i only get void return from the method getTaskByWorkItemId(..).

 

Regards,

Aparna

Reply to this message by going to Community

Start a new discussion in jBPM at Community