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).
Overview
Switch is a no-code automation step in the Conditions category of AutoFlowRPA. It branches your workflow down different paths depending on a condition. You can configure 2 parameter(s) to control exactly how it behaves. It is one of 369 commands you can drag into a workflow in the visual builder — no scripting required.
What it does
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).
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| Value to switch on | string | Required | Compared against each case (one per line). Example: {{{status}}} Supports variables | |
| Cases (one per line) | multiline | Required | Each line is a case value and becomes its own output, in order. An unmatched value uses the Default output. Example: active
pending
closed Supports variables |
How to use Switch
- 1
Open AutoFlowRPA and drag the Switch command from the Conditions group onto the canvas.
- 2
Set its parameters in the side panel — Switch has 2 configurable field(s).
- 3
Connect it into your workflow and press Run. Everything executes locally on your machine.
Frequently asked questions
What does the Switch command do?
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).
Which group does the Switch command belong to?
Switch is part of the Conditions group. AutoFlowRPA ships with 369+ ready-made commands you can combine without code.
Does the Switch command take any parameters?
Yes — Switch has 2 configurable field(s), all editable in the visual node editor.
More Conditions commands
Ready to automate your busywork?
Start your free 30-day trial today. No credit card, no commitment.