ACTION_TRY_CATCH
Branches workflow execution into success or error paths based on whether the immediately preceding node failed, and captures the error details for later steps.
Instructions
按上一个节点是否失败走 success / error 分支。输出:exception_msg。只看紧挨着的上一个节点:失败指抛异常、超时或 require 不满足;多数节点出错只是 xxx_success=false,要在上一节点加 require(如 file_success)才算失败。分支写在 branches(success/error → 节点 id),不走 next,success 分支也要写,缺的分支即该路径结束。。字符串参数支持 ${var} 插值;结果以变量快照 JSON 返回。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| require | No | 执行后要求为 true 的变量名(如 click_success),不满足按出错处理 | |
| on_error | No | 节点出错时:skip=跳过继续(默认),stop=停止整个工作流 | |
| catch_var | No | 出错时写入错误信息的变量名(默认 exception_msg) | |
| node_timeout_ms | No | 单节点超时毫秒,0=不限;默认 30 分钟 |