| 调用 | 功能 |
|---|---|
| 运行({ 输入} ) | 开始运行并返回它。 |
| 运行( 运行) | 历史悠久 |
| runStep( id, 上下文) | 单步跑步,一无所有 |
| (批量)更新 | 改变它 重新校正了整部 |
| (销毁) | 删除。 |
idstring识别资料
dataobject定义: name, trigger, steps, edges.
通常顺序
const workflow = await api.workflows.create(definition);
await workflow.runStep("write", { input: { since: "2026-10-01" } }); // try one step
const run = await workflow.run({ input: { since: "2026-10-01" } }); // then the chain
await run.wait();workflow = api.workflows.create(definition)
workflow.run_step("write", input={"since": "2026-10-01"}) # try one step
run = workflow.run(input={"since": "2026-10-01"}) # then the chain
run.wait()部署链之前的测试步骤
runStep () 运行一个步骤, 无论您给它提供什么背景, 并且不更改它。 与第五步发现第二步产生错误形状相比, 便宜得多 。
对象自动更新
update() 替换 data 物体上的东西回来, 所以,你持有的 情况保持时尚。