AnsweredAssumed Answered

Activiti 6 how to get all activity(will be executed) by process instance

Question asked by einsdan on Jul 10, 2017
Latest reply on Jul 18, 2017 by ryandawson

Map<String, Object> variables = new HashMap<String, Object>();

variables.put("flag", 1);

runtimeService.startProcessInstanceByKey(processDefinitionKey, variables);

// how to get all the list of tasks to be executed here

// if flag is 1, I will get task list(task1, task2, task4)

// if flag is 0, I will get task list(task1, task3)

 

Outcomes