跳转任意节点

Activiti5工作流实战-5

谁说胖子不能爱 提交于 2019-11-30 13:57:27
public class JumpTask implements Command<Void> { protected String executionId; protected ActivityImpl desActivity; protected Map<String, Object> paramvar; protected ActivityImpl currentActivity; //获取默认的流程引擎 protected static ProcessEngine pe = ProcessEngines.getDefaultProcessEngine(); public static void main(String[] args) { Map<String, Object> map = new HashMap<String, Object>(); // String[] v = { "shareniu1", "shareniu2", "shareniu3", "shareniu4" }; // vars.put("assigneeList", Arrays.asList(v)); map.put("leader", "hty"); map.put("day", "7"); RepositoryService repositoryService = pe