SetSuccessTaskInstances
Marks multiple task instances as successful.
Operation description
You must purchase DataWorks Basic Edition or higher to use this operation.
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 |
No |
The list of task instance IDs to be marked as successful. You can specify up to 100 IDs at a time. You can obtain the IDs from the PagingInfo.TaskInstances[].Id parameter returned by the ListTaskInstances operation. |
|
|
integer |
No |
The task instance ID. |
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 operation results keyed by task instance ID. The Success field in each item indicates whether the instance was marked as successful. If the operation fails, you can check the Message field for details. |
{"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.