fix:修复simple设计器第一个发起人节点,审批时校验是否存在审批人导致流程异常
This commit is contained in:
parent
b6c700af6b
commit
f70a50472f
|
@ -599,6 +599,7 @@ public class BpmTaskServiceImpl implements BpmTaskService {
|
||||||
*/
|
*/
|
||||||
private Map<String, Object> validateAndSetNextAssignees(String taskDefinitionKey, Map<String, Object> variables, BpmnModel bpmnModel,
|
private Map<String, Object> validateAndSetNextAssignees(String taskDefinitionKey, Map<String, Object> variables, BpmnModel bpmnModel,
|
||||||
Map<String, List<Long>> nextAssignees, ProcessInstance processInstance) {
|
Map<String, List<Long>> nextAssignees, ProcessInstance processInstance) {
|
||||||
|
// Simple设计器第一个节点默认为发起人节点,不校验是否存在审批人
|
||||||
if (taskDefinitionKey.equals(START_USER_NODE_ID)) {
|
if (taskDefinitionKey.equals(START_USER_NODE_ID)) {
|
||||||
return variables;
|
return variables;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue