You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2020/12/31 08:55:10 UTC

[GitHub] [incubator-dolphinscheduler] wen-hemin commented on pull request #4352: [FIX-#4178][api] Start the workflow, the prompt is incorrect

wen-hemin commented on pull request #4352:
URL: https://github.com/apache/incubator-dolphinscheduler/pull/4352#issuecomment-752894222


   ---
       @ApiException(CHECK_PROCESS_DEFINITION_ERROR)
       public Result startCheckProcessDefinition(@ApiIgnore @RequestAttribute(value = Constants.SESSION_USER) User loginUser,
                                                 @RequestParam(value = "processDefinitionId") int processDefinitionId) {
           logger.info("login user {}, check process definition {}", loginUser.getUserName(), processDefinitionId);
           Map<String, Object> result = execService.startCheckByProcessDefinedId(processDefinitionId);
           return returnDataList(result);
       }
   ---
   When API execute to failed, throw an unhandled exception, return status of CHECK_PROCESS_DEFINITION_ERROR.
   So, set to "检查工作流定义失败" more appropriate


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org