Resumes a suspended task flow.

This operation is applicable only to suspended task flows.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes ResumeTaskFlowInstance

The operation that you want to perform. Set the value to ResumeTaskFlowInstance.

Tid Long No 3***

The ID of the tenant. You can call the GetUserActiveTenant or ListUserTenants operation to obtain the tenant ID.

DagId Long Yes 11****

The ID of the task flow. You can call the ListTaskFlow or ListLhTaskFlowAndScenario operation to obtain the task flow ID.

DagInstanceId Long Yes 3****

The ID of the execution record of the task flow. You can call the ListTaskFlowInstance operation to obtain the execution record ID.

DagVersion String Yes []

The version of the task flow. You can call the ListDAGVersions operation to obtain the version of the task flow.

Response parameters

Parameter Type Example Description
RequestId String 7FF2E325-763F-5E27-9157-C3CFA02F4CBF

The ID of the request.

ErrorCode String UnknownError

The error code returned if the request failed.

ErrorMessage String UnknownError

The error message returned if the request failed.

Success Boolean true

Indicates whether the request was successful. Valid values:

  • true: The request was successful.
  • false: The request failed.

Examples

Sample requests

http(s)://dms-enterprise.aliyuncs.com/?Action=ResumeTaskFlowInstance
&Tid=3***
&DagId=11****
&DagInstanceId=3****
&DagVersion=[]
&Common request parameters

Sample success responses

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

<ResumeTaskFlowInstanceResponse>
    <RequestId>7FF2E325-763F-5E27-9157-C3CFA02F4CBF</RequestId>
    <Success>true</Success>
</ResumeTaskFlowInstanceResponse>

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

{
  "RequestId" : "7FF2E325-763F-5E27-9157-C3CFA02F4CBF",
  "Success" : true
}

Error codes

For a list of error codes, visit the API Error Center.