github-actions[bot] commented on issue #14278: URL: https://github.com/apache/dolphinscheduler/issues/14278#issuecomment-1575956301
### 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 After the execution type of the subworkflow is set to serial wait, it is called and executed by two parent workflows A and B at the same time (the subworkflows are named C1 and C2 respectively according to the call time). C1 can execute normally, but C2 cannot obtain the global variables transmitted by the parent work. After the sub-workflow execution type is set to serial waiting, it is called and executed by two parent workflows A and B at the same time (the sub-workflows are respectively named C1 and C2 according to the calling time), C1 can execute normally, and C2 can get Global variables passed in from the parent job. <img width="935" alt="WeChat screenshot_20230605103520" src="https://github.com/apache/dolphinscheduler/assets/129137802/2646f43a-cc13-4139-9be9-52c65ef9d7c5"> C1 <img width="662" alt="WeChat screenshot_20230605103539" src="https://github.com/apache/dolphinscheduler/assets/129137802/faf91c5a-0032-4992-97f6-f81bb9ef2c2d"> C2 <img width="653" alt="WeChat screenshot_20230605103452" src="https://github.com/apache/dolphinscheduler/assets/129137802/60c3bcc1-7d31-4a16-bcb1-640704080986"> ### What you expected to happen There is a problem with the subworkflow receiving parameters There is a problem with sub-workflow receiving parameters ### How to reproduce 1. Create subworkflow C, and the execution type is set to serial wait; 2. Create the parent workflow A and B, create the task as the child workflow C at the same time, and set "parameter=abcde" as the global variable; 3. Perform A and B simultaneously. 1. Create sub-workflow C, and set the execution type to serial waiting; 2. Create parent workflows A and B, A and B workflows create tasks as child workflow C at the same time, and set the global variable "parameter=abcde"; 3. Execute A and B at the same time. ### 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]
