有关于创建组:
activiti6需要用service来new group,而之前的版本都是用普通初始化方法,这点刚开始没注意到,一直报错,现在终于解决了,发表下感慨。。。
下面是activiti6:
IdentityService service = processEngine.getIdentityService();
Group group = service.newGroup("财务组");
group.setName("财务组");
service.saveGroup(group);
下面时之前版本:
Group group = new GroupEntity();
group.setId("财务组");
processEngine.getIdentityService().saveGroup(group);