update - 业务节点"不设置审批人"配置时, 根据审批方式调整执行监听的配置是否要添加 engineExecutionStartListener

This commit is contained in:
wangli 2024-02-05 11:42:00 +08:00
parent a1d0dc424a
commit 230270f2b9

View File

@ -46,7 +46,7 @@ public class ReceiveTaskJsonConverter extends AbstractBpmnJsonConverter<ReceiveT
List<FlowableListener> executionListeners = new ArrayList<>();
if (Objects.nonNull(node.getProperty()) && Objects.equals(node.getProperty().getApprovalMethod(),
if (Objects.nonNull(node.getProperty()) && !Objects.equals(node.getProperty().getApprovalMethod(),
ApprovalMethodEnum.nobody)) {
FlowableListener executionListener = new FlowableListener();
executionListener.setEvent(BaseExecutionListener.EVENTNAME_START);