TransactionInstance 事务实例
根据请求参数和 项目(project)
, 进程(process)
生成的实例
标记每条事务的运行状态和结果
Properties:
Name | Type | Description | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
title |
string | 项目名称 |
|||||||||||||||
desc |
string | 描述 |
|||||||||||||||
messageId |
string | 消息id/订单id, 用于标识事务, 每个项目 唯一不重复 |
|||||||||||||||
projectId |
number | 对应的项目id |
|||||||||||||||
proccessId |
number | 对应的进程 |
|||||||||||||||
actionId |
number | 行为id |
|||||||||||||||
status |
string | 状态 init 初始化 / running 运行中 / completed 完成 / abnormal 异常 |
|||||||||||||||
step |
string | 当前步骤 / trying / confirming / cancelling |
|||||||||||||||
log |
object | 日志信息 |
|||||||||||||||
payload |
object | 数据载体 |
|||||||||||||||
tryIds |
Array.<number> | TryAction 的 id集合 |
|||||||||||||||
confirmIds |
Array.<number> | Confirm 关联 id集合 |
|||||||||||||||
cancelIds |
Array.<number> | Cancel 关联 id集合 |
|||||||||||||||
tryAllCompleted |
boolean | TRY行为是否全部通过 |
|||||||||||||||
confirmAllCompleted |
boolean | Confirm行为是否全部通过 |
|||||||||||||||
cancelAllCompleted |
boolean | Cancel行为是否全部通过 |
|||||||||||||||
tryActionsInfo |
Array.<object> | TRY详细进度 Properties
|
|||||||||||||||
confirmActionsInfo |
Array.<object> | Confirm详细进度 |
|||||||||||||||
cancelActionsInfo |
Array.<object> | Cancel详细进度 |
|||||||||||||||
spacingMilliSeconds |
number | 间隔毫秒,失败后再次执行的间隔 |
- Source: