feat(REQ-3004) - 调整是否发送钉钉消息的控制
This commit is contained in:
parent
6fed214302
commit
6a99b1180c
@ -207,7 +207,7 @@ public class EngineExecutionStartListener implements ExecutionListener {
|
||||
}
|
||||
|
||||
private void finalEmptyAssigneeHandle(List<BpmnTaskDelegateAssigner> assigners, UserTask userTask, DelegateExecution execution, String operationDesc) {
|
||||
if (CollectionUtils.isEmpty(assigners)) {
|
||||
if (CollectionUtils.isEmpty(assigners) && refreshProperties.getSendDingTalk()) {
|
||||
CooperationOrgDTO orgScopes = execution.getVariable(BIZ_ORG_RELATION, CooperationOrgDTO.class);
|
||||
DingTalkUtils.sendDingTalkForTransferToAdminError(profile, execution.getProcessInstanceId(), userTask.getId(), orgScopes);
|
||||
BpmnProcessInstanceAbortDTO abortDTO = new BpmnProcessInstanceAbortDTO();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user