uni-flow 公开 API(中文注解) / RunRecord
Interface: RunRecord
Defined in: orchestrator/registry.ts:19
Orchestrator 内存中的运行记录(含可选结果与错误)。
Properties
createdAt
createdAt:
number
Defined in: orchestrator/registry.ts:27
创建时间戳(ms)。
error?
optionalerror?:string
Defined in: orchestrator/registry.ts:33
失败时的错误信息。
result?
optionalresult?:WorkflowResult
Defined in: orchestrator/registry.ts:31
成功或暂停时的结果。
runId
runId:
string
Defined in: orchestrator/registry.ts:21
运行 id(与 Engine getRunId() 一致)。
status
status:
RunStatus
Defined in: orchestrator/registry.ts:25
当前状态。
updatedAt
updatedAt:
number
Defined in: orchestrator/registry.ts:29
最近更新时间戳(ms)。
workflowId
workflowId:
string
Defined in: orchestrator/registry.ts:23
所属工作流 id。