AnsweredAssumed Answered

Set Priority when starting a processinstance

Question asked by learneractiviti on Feb 23, 2018
Latest reply on Feb 23, 2018 by cjose

The way the process start is a list of objects and each object has a single process and the flow starts with a service task.


Map variableMap = new HashMap();

ProcessInstance processInstance = runtimeService.startProcessInstanceByKey("imageProcess", variableMap);

How can i use this priority to set the priority of the task, As my first step is a service task and the second user task is based on the priority