Re-executing a Flow
Function
This API is used to retry a standard flow.
URI
POST /v2/{project_id}/fgs/workflows/{workflow_id}/executions/{execution_id}/retry
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
project_id |
Yes |
String |
Project ID. For details, see Obtaining a Project ID. Minimum: 1 Maximum: 64 |
|
workflow_id |
Yes |
String |
Flow ID. Minimum: 1 Maximum: 512 |
|
execution_id |
Yes |
String |
Flow instance ID. Minimum: 1 Maximum: 64 |
Request Parameters
None
Response Parameters
Status code: 400
|
Parameter |
Type |
Description |
|---|---|---|
|
error_code |
String |
Error code. Minimum: 1 Maximum: 36 |
|
error_msg |
String |
Error description. Minimum: 2 Maximum: 512 |
|
request_id |
String |
Request ID. Minimum: 2 Maximum: 512 |
Status code: 404
|
Parameter |
Type |
Description |
|---|---|---|
|
error_code |
String |
Error code. Minimum: 1 Maximum: 36 |
|
error_msg |
String |
Error description. Minimum: 2 Maximum: 512 |
Status code: 500
|
Parameter |
Type |
Description |
|---|---|---|
|
error_code |
String |
Error code. Minimum: 1 Maximum: 36 |
|
error_msg |
String |
Error description. Minimum: 2 Maximum: 512 |
|
request_id |
String |
Request ID. Minimum: 2 Maximum: 512 |
Example Requests
Re-execute instance {execution_id} of a function.
POST /v2/{project_id}/fgs/workflows/{workflow_id}/executions/{execution_id}/retry
Example Responses
None
Status Codes
|
Status Code |
Description |
|---|---|
|
200 |
OK |
|
400 |
Bad Request |
|
404 |
Bad Request |
|
500 |
Internal Server Error |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.