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