moxtong2 opened a new issue, #14535:
URL: https://github.com/apache/dolphinscheduler/issues/14535

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### What happened
   
   标题:插件依赖功能显示异常 
   内容 :DEPENDENT 模块添加依赖公共任务A ,A未执行,在流的实例查看依赖显示空。
   
   
   ### What you expected to happen
   
   原因:在t_ds_task_instance 未生成任务实例,所以
   `
   ProcessInstanceServiceImpl 中359行如下添加依赖为空导致前端回显异常
   List<TaskInstance> taskInstanceList = 
processService.findValidTaskListByProcessId(processId);
   addDependResultForTaskList(taskInstanceList);
   `
   
   ### How to reproduce
   
   src\views\projects\task\components\node\fields\use-dependent.ts
   233 行
   `
   let state: ITaskState = dependentResult[key]
   state = state ? state : 'RUNNING_EXECUTION'
   `
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   3.1.x
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: 
[email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to