Commit f70a50472fefd6f17119ab91a0a8e4a6f551cbab
1 parent
b6c700af
fix:修复simple设计器第一个发起人节点,审批时校验是否存在审批人导致流程异常
Showing
1 changed file
with
1 additions
and
0 deletions
yudao-module-bpm/yudao-module-bpm-biz/src/main/java/cn/iocoder/yudao/module/bpm/service/task/BpmTaskServiceImpl.java
| ... | ... | @@ -599,6 +599,7 @@ public class BpmTaskServiceImpl implements BpmTaskService { |
| 599 | 599 | */ |
| 600 | 600 | private Map<String, Object> validateAndSetNextAssignees(String taskDefinitionKey, Map<String, Object> variables, BpmnModel bpmnModel, |
| 601 | 601 | Map<String, List<Long>> nextAssignees, ProcessInstance processInstance) { |
| 602 | + // Simple设计器第一个节点默认为发起人节点,不校验是否存在审批人 | |
| 602 | 603 | if (taskDefinitionKey.equals(START_USER_NODE_ID)) { |
| 603 | 604 | return variables; |
| 604 | 605 | } | ... | ... |