摘要: 代码实现:需要接口 @Autowired private RuntimeService runtimeService; @Autowired private RepositoryService repositoryService; @Autowired private TaskService tas 阅读全文
posted @ 2024-05-05 19:02 洞玄巅峰 阅读(97) 评论(0) 推荐(0) 编辑
摘要: 代码实现: @Component("testTaskListener") public class UserTaskListener implements TaskListener { @Override public void notify(DelegateTask delegateTask) { 阅读全文
posted @ 2024-05-05 18:51 洞玄巅峰 阅读(30) 评论(0) 推荐(0) 编辑
摘要: ERROR BOUNDARY EVENT:在任务发生异常时候会触发走,在代码中必须显式抛出 throw new BpmnError("error....."); public void execute(DelegateExecution delegateExecution) throws Excep 阅读全文
posted @ 2024-05-05 18:48 洞玄巅峰 阅读(42) 评论(0) 推荐(0) 编辑