Moves a task flow to a specified business scenario.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dms:MoveTaskFlowToScenario |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Tid |
integer |
No |
The tenant ID. Note
You can view the tenant ID by hovering over the profile picture in the upper-right corner of the console. For more information, see View tenant information. |
3*** |
| DagId |
integer |
Yes |
The task flow ID. You can call the ListTaskFlow or ListLhTaskFlowAndScenario operation to obtain this parameter. |
11**** |
| ScenarioId |
integer |
No |
The ID of the destination business scenario. If this parameter is left empty or set to a value less than or equal to 0, the task flow is moved to the default business scenario. |
1**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID, which is used to locate logs and troubleshoot issues. |
D85FD18C-4322-5D49-8C14-5A10E668F86C |
| ErrorCode |
string |
The error code. |
UnknownError |
| ErrorMessage |
string |
The error message returned if the request failed. |
UnknownError |
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
Examples
Success response
JSON format
{
"RequestId": "D85FD18C-4322-5D49-8C14-5A10E668F86C",
"ErrorCode": "UnknownError",
"ErrorMessage": "UnknownError",
"Success": true
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.