Notifies a waiting execution of how to proceed.
Operation description
The following scenarios support notifications:
When a special task execution is waiting for approval. If a template contains an Approve task and the execution reaches the Approve task, the execution switches to the Waiting state. You can call this API operation to confirm whether to continue to execute.
When debugging in Debug mode. After an execution is created or a task execution is completed, call this API operation to specify the next task execution.
When a risky operation task execution is waiting for approval. You can call this API operation to confirm whether to continue to execute.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
oos:NotifyExecution |
update |
*execution
|
|
None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
The region ID. |
cn-hangzhou |
| ExecutionId |
string |
Yes |
The execution ID. |
exec-xxx |
| NotifyType |
string |
Yes |
The notification type. Valid values:
|
Approve |
| NotifyNote |
string |
No |
The notification message for description purposes. |
Description |
| TaskName |
string |
No |
The name of the next task to execute. |
describeInstance |
| TaskExecutionId |
string |
No |
The task execution ID. |
task-exec-xxx |
| ExecutionStatus |
string |
No |
The execution status. This parameter is applicable to CompleteExecution. |
Success |
| Parameters |
string |
No |
The parameters. This parameter is applicable to ExecuteTask. |
{} |
| LoopItem |
string |
No |
The item data corresponding to the loop child node. |
i-xxx |
| TaskExecutionIds |
string |
No |
The list of task execution IDs. |
["exec-79c321c11003a97c","exec-79c321c11003aqw97cz"] |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
491DF8C2-34C9-4679-9DB3-4C0F49B129AC |
Examples
Success response
JSON format
{
"RequestId": "491DF8C2-34C9-4679-9DB3-4C0F49B129AC"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.