Skip to main content

Active FSM

Interface Overview

The state machine controls task flow. In some cases, the task does not want to be automatically started. When creating a task, you can set autoStart to false, so the state machine will not flow the task.

Interface Address

/cloudcanal/console/api/v1/openapi/datajob/activefsm

Request Manner

POST

Request Parameters

ParameterNameParameter DescriptionRequestTypeWhether RequiredDataType
jobIdTask IDBodyTrueLong

Public Response Results

ParameterNameParameter DescriptionType(Java)NotNull
code1:Success, 0:FailureStringTrue
dataObjectFalse
msgStringFalse
requestIdStringTrue

Response Example

{
"requestId": "c5665d7c-2cb7-11ec-a410-bfd57df2q1ea",
"code": "1",
"msg": "request success",
"data": null
}