AnsweredAssumed Answered

find task id by process instance

Question asked by goutham.pn@cafyne.com on Mar 1, 2017
Latest reply on Mar 1, 2017 by gdharley

I'm creating a task like this,

 

ProcessInstance processInstance = runtimeService
.startProcessInstanceByKey(ApplicationConstants.POST_APPROVAL_WORKFLOW_NAME, variablesMap);

 

I want to assign the owner for this, how can I do it.

 

If not, is it possible to find taskId from this then I can use taskService.setOwner.

 

Please help me with this.

Outcomes