changxiangshimian/changxiangshimian.github.io 5 months ago committed by GitHub
parent
commit
d675c28812
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 1
      dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/runner/WorkflowExecuteRunnable.java

1
dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/runner/WorkflowExecuteRunnable.java

@ -639,6 +639,7 @@ public class WorkflowExecuteRunnable implements IWorkflowExecuteRunnable {
command.setProcessInstanceId(0);
command.setProcessDefinitionVersion(workflowInstance.getProcessDefinitionVersion());
command.setTestFlag(workflowInstance.getTestFlag());
command.setTenantCode(workflowInstance.getTenantCode());
int create = commandService.createCommand(command);
processService.saveCommandTrigger(command.getId(), workflowInstance.getId());
return create;

Loading…
Cancel
Save