public WorkflowResult reject(Integer taskId, WorkflowOperationRequest request) {
        Preconditions.expectNotNull(taskId, "task id cannot be null");

        Response<WorkflowResult> response = ClientUtils.executeHttpCall(workflowApi.reject(taskId, request));
        ClientUtils.assertRespSuccess(response);
        return response.getData();
    }
Cancellation process application

@param taskId taskId
@param request workflow operation request
@return workflow result info
inlong-manager/manager-client/src/main/java/org/apache/inlong/manager/client/api/inner/client/WorkflowClient.java