Loop (container)
A container that repeats the commands placed inside it. Pick how it iterates: a fixed count, each item of a list, a while-condition, or continuously until Exit Loop.
概述
Loop (container) 是 AutoFlowRPA 中 Loop 类别下的无代码自动化步骤。 它作为容器,将其他步骤分组并在其内部运行。 您可以配置 8 个参数,精确控制其行为方式。 它是可在可视化编辑器中拖入工作流的 340 个命令之一,无需编写脚本。
功能说明
A container that repeats the commands placed inside it. Pick how it iterates: a fixed count, each item of a list, a while-condition, or continuously until Exit Loop.
参数
| 参数 | 类型 | 是否必填 | 默认值 | 说明 |
|---|---|---|---|---|
| Loop type | dropdownN times · For each · While · Continuous | 必填 | N times | |
| Iterations (N times) | number | 可选 | 3 | How many times to repeat. 示例: 5 支持变量 |
| Index variable | variable | 可选 | Loop.Current | 1-based iteration number. |
| List variable | variable | 可选 | The list to iterate over. 示例: myList | |
| Current item variable | variable | 可选 | Loop.CurrentItem | Receives the current item each iteration. |
| Condition: first value | string | 可选 | Loop continues while this holds. 示例: {{{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 less than | |
| Condition: second value | string | 可选 | 示例: 10 支持变量 |
如何使用 Loop (container)
- 1
打开 AutoFlowRPA,将 Loop (container) 命令从 Loop 分组拖放到画布上。
- 2
在侧边面板中设置其参数——Loop (container) 有 8 个可配置字段。
- 3
将它连入你的工作流并点击运行。一切都在你的本机上本地执行。
常见问题
Loop (container) 命令有什么作用?
A container that repeats the commands placed inside it. Pick how it iterates: a fixed count, each item of a list, a while-condition, or continuously until Exit Loop.
Loop (container) 命令属于哪个分组?
Loop (container) 属于 Loop 分组。AutoFlowRPA 附带 340+ 个现成命令,无需代码即可组合使用。
Loop (container) 命令需要任何参数吗?
需要——Loop (container) 有 8 个可配置字段,均可在可视化节点编辑器中编辑。