StopWorkflowInstances
Stops multiple workflow instances in batches.
Operation description
DataWorks Basic Edition or later is required.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dataworks:* |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Ids |
array |
Yes |
The list of workflow instance IDs to be operated. You can obtain the IDs from the |
|
|
integer |
No |
The workflow instance ID. You can call the ListWorkflowInstances operation to query workflow instance IDs. |
1234 |
|
| Comment |
string |
No |
The comment. |
this is a comment |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID, which is used to locate logs and troubleshoot issues. |
22C97E95-F023-56B5-8852-B1A77A17**** |
| SuccessInfo |
object |
The batch stop results, with the workflow instance ID as the key. The |
{"10001": {"Success": false, "Message": "The instance does not exist."}} |
|
object |
The result information. |
||
| Success |
boolean |
Indicates whether the operation was successful. |
true |
| Message |
string |
The error message. |
The instance does not exist. |
Examples
Success response
JSON format
{
"RequestId": "22C97E95-F023-56B5-8852-B1A77A17****",
"SuccessInfo": {
"key": {
"Success": true,
"Message": "The instance does not exist."
}
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.