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

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and 
found no similar feature requirement.
   
   
   ### Description
   
   When users define `parameter context` or `global parameter` in process, 
sometimes parameters are invalid for the sake of wrong parameter name or even 
parameter undefined. In current version, these error can only be found during 
executing the process, thus, i think a check when defining process is strongly 
needed.
   
   I'll add function `checkValidParams` which will be called in the following 
methods in `ProcessDefinitionServiceImpl`:
   
   ```java
   public Map<String, Object> createProcessDefinition(User loginUser, ...)
   
   public Map<String, Object> updateProcessDefinition(User loginUser, ...)
   ```
   
   ### Are you willing to submit a 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