码上敲享录 > activiti问题详解 > No outgoing sequence flow of the exclusive gateway 'XXX' could be selected for continuing the proces

No outgoing sequence flow of the exclusive gateway 'XXX' could be selected for continuing the proces

上一章章节目录下一章 2018-04-08已有9419人阅读 评论(0)

报错信息:

org.activiti.engine.ActivitiException: No outgoing sequence flow of the exclusive gateway 'sid-B346E274-1434-4019-A9DB-

FA27CFEC7B67' could be selected for continuing the process



解决方法:

流程图的排他网关设置了条件表达式,假如排他网关后面有两个箭头,第一个设置条件${condition=='不合格'},第二个设置条件${condition=='合格'},但在执行排他网关前应该给condition这个变量赋值来决定流程走向。


例如下面代码,处理用户任务时给下一步的排他网关设置值

Map<String, Object> vMap = new HashMap<String, Object>();

vMap.put("condition", '不合格');

taskService.complete(taskId,vMap);

本文地址:http://yayihouse.com/yayishuwu/chapter/1162

230

有建议,请留言!

  • *您的姓名:

  • *所在城市:

  • *您的联系电话:

    *您的QQ:

  • 咨询问题:

  • 提 交