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

   ### 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
   
     3.1.4版本 调用api 运行实例接口 启动工作流实例,发现 在执行策略为串行等待 模式下等待流无法获取传入参数。
   
   ### What you expected to happen
   
   调用命令:
   curl --location 
'http://10.0.1.106:12345/dolphinscheduler/projects/16631684081664/executors/start-process-instance'
 \
   --header 'Accept: application/json, text/plain, */*' \
   --header 'Accept-Language: zh-CN,zh;q=0.9' \
   --header 'Cache-Control: no-cache' \
   --header 'Connection: keep-alive' \
   --header 'Content-Type: application/x-www-form-urlencoded' \
   --header 'Pragma: no-cache' \
   --header 'token: f4755fae084dea54ef38103b10abc941' \
   --data-urlencode 'processDefinitionCode=16649316257664' \
   --data-urlencode 'failureStrategy=CONTINUE' \
   --data-urlencode 'warningType=FAILURE' \
   --data-urlencode 'processInstancePriority=HIGHEST' \
   --data-urlencode 'startParams={"var":"22222"}' \
   --data-urlencode 'dryRun=0' \
   --data-urlencode 'scheduleTime='
   
   
   
   
![Image](https://github.com/user-attachments/assets/9ca3e02a-b8f1-4f13-8e9b-3406a2e1f7e0)
   
   
![Image](https://github.com/user-attachments/assets/6109d2a3-f301-452d-8bd7-ab117bc2461a)
   
   ### How to reproduce
   
     脚本截图:
   
   
![Image](https://github.com/user-attachments/assets/ec15d829-75f5-4d4e-a2f9-85ee47f7c19b)
   
   流程配置截图:
   
   
![Image](https://github.com/user-attachments/assets/cb651c0e-cb59-4bbd-9cea-b1d7abf0bc8a)
   
   调用命令:
   curl --location 
'http://10.0.1.106:12345/dolphinscheduler/projects/16631684081664/executors/start-process-instance'
 \
   --header 'Accept: application/json, text/plain, */*' \
   --header 'Accept-Language: zh-CN,zh;q=0.9' \
   --header 'Cache-Control: no-cache' \
   --header 'Connection: keep-alive' \
   --header 'Content-Type: application/x-www-form-urlencoded' \
   --header 'Pragma: no-cache' \
   --header 'token: f4755fae084dea54ef38103b10abc941' \
   --data-urlencode 'processDefinitionCode=16649316257664' \
   --data-urlencode 'failureStrategy=CONTINUE' \
   --data-urlencode 'warningType=FAILURE' \
   --data-urlencode 'processInstancePriority=HIGHEST' \
   --data-urlencode 'startParams={"var":"22222"}' \
   --data-urlencode 'dryRun=0' \
   --data-urlencode 'scheduleTime='
   
   调用结果:
   第一次调用打印
   
   
![Image](https://github.com/user-attachments/assets/b7827f62-a7cc-4c7a-a2fc-1d0ac27c34d1)
   
   第二次调用
   
   
![Image](https://github.com/user-attachments/assets/0a8ce3e7-54d0-43e4-917b-f1e9787c1ff2)
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   3.1.x
   
   ### Are you willing to submit PR?
   
   - [ ] 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