github-actions[bot] commented on issue #14535: URL: https://github.com/apache/dolphinscheduler/issues/14535#issuecomment-1633693926
### 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 Title: Plug-in dependency function display exception Content: The DEPENDENT module adds a dependency on public task A, but A is not executed, and the dependency display is empty in the flow instance. ### What you expected to happen Reason: No task instance is generated in t_ds_task_instance, so ` Line 359 in ProcessInstanceServiceImpl is added as follows and the dependency is empty, resulting in an abnormal front-end echo List<TaskInstance> taskInstanceList = processService. findValidTaskListByProcessId(processId); addDependResultForTaskList(taskInstanceList); ` ### How to reproduce src\views\projects\task\components\node\fields\use-dependent.ts 233 lines ` 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]
