Update WorkflowExecuteRunnable.java (#16092)
Corrected the following issues https://github.com/apache/dolphinscheduler/issues/15366 https://github.com/apache/dolphinscheduler/issues/16010
This commit is contained in:
parent
d8e0178599
commit
d675c28812
|
|
@ -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…
Reference in New Issue