boy-xiaozhang opened a new issue #6688:
URL: https://github.com/apache/dolphinscheduler/issues/6688


   ### 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
   
   The scenario is as follows:
      The user uses the API interface to set the timing scheduling 
processInstancePriority as an optional parameter, but there is no default 
value, which causes the Scheduler to fail to execute and throws an exception
   
   
![image](https://user-images.githubusercontent.com/60912722/140242593-f24363a1-75ea-4bf7-ace0-321e301b43bb.png)
   
   
   ### What you expected to happen
   
   The default processInstancePriority should be added to ensure that the user 
sets the timing scheduling task through the API is correct
   
   ### How to reproduce
   
   The process of reproducing the BUG is as follows
   
   curl -X POST 
"http://127.0.0.1:12345/dolphinscheduler/projects/%E5%BA%94%E7%94%A8%E8%B0%83%E5%BA%A6/schedule/create";
 -H "Request-Origion:SwaggerBootstrapUi" -H "accept:*/*" -H 
"Content-Type:application/x-www-form-urlencoded;charset=UTF-8" -d 
"processDefinitionId=6264" -d "schedule={'startTime':'2019-06-10 
00:00:00','endTime':'2019-06-13 00:00:00','crontab':'0 0 3/6 * * ? *'}" 
   
   ### Anything else
   
   _No response_
   
   ### 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]


Reply via email to