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

   ### 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
   
   Creating a process which has subprocess node in will get parameter invalid.
   
   I found that the json sent by fontend has the key "processDefinitionId", but 
backend is using "processDenifitionCode"
   
   
[https://github.com/apache/dolphinscheduler/blob/6a2484196ddcb5c87c75e4fe8414d178c2ef4882/dolphinscheduler-task-plugin/dolphinscheduler-task-subprocess/src/main/java/org/apache/dolphinscheduler/plugin/task/subprocess/SubProcessTaskChannel.java#L43](url)
 
   `return JSONUtils.parseObject(parametersNode.getTaskParams(), 
SubProcessParameters.class);` 
   
   code here will gives processDenifitionCode  a default value 
   
   I think the json key from frontend should be "processDenifitionCode"
   
   ### What you expected to happen
   
   Creating process successfully
   
   ### How to reproduce
   
   Just create a process contains subprocess
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   dev
   
   ### 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