StopExecution
停止一个正在执行的流程
服务地址:
华东1(杭州)
输入参数
只看必填
FlowName需要停止的流程名称
ExecutionName需要停止的执行名称
Cause停止错误原因
Error停止错误代码
插件下载了解更多
VS Code 插件
安装插件之前,确保已安装 VS Code安装插件之前,确保已安装 VS Code
Alibaba Cloud Developer Toolkit is a collection of extensions that can help access Alibaba Cloud services in Visual Studio Code.
JetBrains 插件
安装插件之前,确保已安装 JetBrains IDE安装插件之前,确保已安装 JetBrains IDE
The Alibaba Cloud Developer Toolkit for JetBrains makes it easier to access Alibaba Cloud services.

接口说明

流程必须为执行中。

请求参数

字段名称字段详情
FlowNamestring

需要停止的流程名称,可以通过 ListFlows 的返回值获取。

示例值:my_flow_name
ExecutionNamestring

需要停止的执行名称,可以通过 ListExecutions 的返回值获取。

示例值:my_exec_name
Causestring

停止错误原因。长度为 1~4096 个字符。

示例值:for test
Errorstring

停止错误代码。长度为 1~128 个字符。

示例值:InvalidArgument

返回参数

字段名称字段详情
Statusstring

执行状态。取值说明如下:展开详情

示例值:Running
StoppedTimestring

执行停止时间。

示例值:2019-01-01T01:01:01.001Z
RequestIdstring

请求 ID。

示例值:testRequestId
StartedTimestring

执行开始时间。

示例值:2019-01-01T01:01:01.001Z
FlowDefinitionstring

执行的流程定义。

示例值:旧版: "type: flow\nversion: v1\nname: my_flow_name\nsteps:\n - type: pass\n name: mypass" 新版: "Type: StateMachine\nSpecVersion: v1\nName: my_flow_name\nStartAt: my_state\nStates:\n - Type: Pass\n Name: my_state\n End: true"
Outputstring

执行的输出,为 JSON 对象格式。

示例值:{"key":"value"}
FlowNamestring

流程名称。

示例值:my_flow_name
Namestring

执行名称。

示例值:my_exec_name
Inputstring

执行的输入,为 JSON 对象格式。

示例值:{"key":"value"}
RoleArnstring

执行的角色权限配置。若流程定义中的 RoleArn 在执行期间发生变更,系统将记录并返回执行初始时刻的 RoleArn 的快照。展开详情

示例值:acs:ram:${region}:${accountID}:${role}
变更历史
变更时间变更内容概要操作
2024-08-06
变更返回参数
2024-03-21
删除请求参数RequestId
2022-02-24
变更返回参数