If
A single node that checks a condition and has two outputs — TRUE and FALSE. Wire each output to the commands for that branch (no separate Else / End If commands needed).
概述
If 是 AutoFlowRPA 中 Conditions 类别下的无代码自动化步骤。 它会根据条件将工作流分支到不同的路径。 您可以配置 3 个参数,精确控制其行为方式。 它是可在可视化编辑器中拖入工作流的 340 个命令之一,无需编写脚本。
功能说明
A single node that checks a condition and has two outputs — TRUE and FALSE. Wire each output to the commands for that branch (no separate Else / End If commands needed).
参数
| 参数 | 类型 | 是否必填 | 默认值 | 说明 |
|---|---|---|---|---|
| First value | string | 必填 | Left-hand operand. 示例: {{{count}}} 支持变量 | |
| Condition | dropdownis equal to · is not equal to · is greater than · is less than · is greater than or equal to · is less than or equal to · contains · does not contain · is empty · is not empty | 必填 | is equal to | Comparison to perform. |
| Second value | string | 可选 | Right-hand operand. 示例: 10 支持变量 |
如何使用 If
- 1
打开 AutoFlowRPA,将 If 命令从 Conditions 分组拖放到画布上。
- 2
在侧边面板中设置其参数——If 有 3 个可配置字段。
- 3
将它连入你的工作流并点击运行。一切都在你的本机上本地执行。
常见问题
If 命令有什么作用?
A single node that checks a condition and has two outputs — TRUE and FALSE. Wire each output to the commands for that branch (no separate Else / End If commands needed).
If 命令属于哪个分组?
If 属于 Conditions 分组。AutoFlowRPA 附带 340+ 个现成命令,无需代码即可组合使用。
If 命令需要任何参数吗?
需要——If 有 3 个可配置字段,均可在可视化节点编辑器中编辑。