You can call this operation to rerun the finished workflow instance.

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 Required RerunFlow

The operation that you want to perform. For API requests using the HTTP or HTTPS URL, this parameter is required. Set the value to RerunFlow.

FlowInstanceId String Required FI-9DDAAA3ADA5F****

The ID of the workflow instance.

ProjectId String Required FP-3535FE0BE522****

The ID of the project.

Region ID String Required cn-hangzhou

The ID of the region where the streaming domain resides.

ReRunFail Boolean No true

Specifies whether to rerun failed node instances only.

Response parameters

Parameter Type Example Description
Data Boolean True

The result of the operation.

RequestId String B46F8A2A-B46B-415C-8A9C-B01B99B775A2

The ID of the request.

Examples

Sample requests

http(s)://[Endpoint]/? Action=RerunFlow
&FlowInstanceId=FI-9DDAAA3ADA5F****
&ProjectId=FP-3535FE0BE522****
&RegionId=cn-hangzhou
&<Common request parameters>

Sample success responses

XML format

<RerunFlowResponse>
      <RequestId>B46F8A2A-B46B-415C-8A9C-B01B99B775A2</RequestId>
      <Data>true</Data>
</RerunFlowResponse>

JSON format

{
        "RequestId": "B46F8A2A-B46B-415C-8A9C-B01B99B775A2",
        "Data": true
}

Error codes

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