Browse Source

[Improvement][api]Start the downstream workflow when it is online (#13257)

Start the downstream workflow when it is online
3.1.3-release
XCL 2 years ago committed by zhuangchong
parent
commit
5f888c4c1f
  1. 2
      dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ExecutorServiceImpl.java
  2. 1
      dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/WorkFlowLineageMapper.xml

2
dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ExecutorServiceImpl.java

@ -988,7 +988,7 @@ public class ExecutorServiceImpl extends BaseServiceImpl implements ExecutorServ
}
/**
* get complement dependent process definition list
* get complement dependent online process definition list
*/
private List<DependentProcessDefinition> getComplementDependentDefinitionList(long processDefinitionCode,
CycleEnum processDefinitionCycle,

1
dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/WorkFlowLineageMapper.xml

@ -161,6 +161,7 @@
AND a.task_params LIKE concat('%', #{code}, '%')
</if>
AND a.task_type = 'DEPENDENT'
AND c.release_state = 1
</select>
<select id="queryTaskSubProcessDepOnProcess" resultType="org.apache.dolphinscheduler.dao.entity.TaskMainInfo">

Loading…
Cancel
Save