Switch

A single node that switches on a value and has one output per case (listed below) plus a Default output. Wire each output to the commands for that case (no separate Case / End Switch commands).

ConditionsSwitch分支

概述

Switch 是 AutoFlowRPA 中 Conditions 类别下的无代码自动化步骤。 它会根据条件将工作流分支到不同的路径。 您可以配置 2 个参数,精确控制其行为方式。 它是可在可视化编辑器中拖入工作流的 340 个命令之一,无需编写脚本。

功能说明

A single node that switches on a value and has one output per case (listed below) plus a Default output. Wire each output to the commands for that case (no separate Case / End Switch commands).

参数

参数类型是否必填默认值说明
Value to switch onstring
必填Compared against each case (one per line).
示例: {{{status}}}
支持变量
Cases (one per line)multiline
必填Each line is a case value and becomes its own output, in order. An unmatched value uses the Default output.
示例: active pending closed
支持变量

如何使用 Switch

  1. 1

    打开 AutoFlowRPA,将 Switch 命令从 Conditions 分组拖放到画布上。

  2. 2

    在侧边面板中设置其参数——Switch 有 2 个可配置字段。

  3. 3

    将它连入你的工作流并点击运行。一切都在你的本机上本地执行。

常见问题

Switch 命令有什么作用?

A single node that switches on a value and has one output per case (listed below) plus a Default output. Wire each output to the commands for that case (no separate Case / End Switch commands).

Switch 命令属于哪个分组?

Switch 属于 Conditions 分组。AutoFlowRPA 附带 340+ 个现成命令,无需代码即可组合使用。

Switch 命令需要任何参数吗?

需要——Switch 有 2 个可配置字段,均可在可视化节点编辑器中编辑。

更多 Conditions 命令

准备好自动化你的繁琐工作了吗?

立即开始 30 天免费试用。无需信用卡,无任何约束。