Activiti 6 how to get all activity(will be executed) by process instance
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 l...