Could not execute inner activity behavior of multi instance behavior

关于Could not execute inner activity behavior of multi instance behavior

 

解决方法:

假如用户任务配置了多实例,Collection为assigneeList,Loop Cardinality设置为3,以下代码为assigneeList设置处理人

Map variableMap = new HashMap();

ArrayList assigneeList = new ArrayList<>();

assigneeList.add("1");

assigneeList.add("2");

variableMap.put("assigneeList",assigneeList);

ProcessInstance pi = runtimeService.startProcessInstanceByKey("myProcess_1", variableMap);

出现上面错误是因为:http://www.yayihouse.com/yayishuwu/chapter/2374

你可能感兴趣的:(Could not execute inner activity behavior of multi instance behavior)