> For the complete documentation index, see [llms.txt](https://doc.duaer.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.duaer.com/build/switch.md).

# Route items with Switch in Duaer

In Duaer, Switch defaults to Mode Rules. Under Routing Rules, set Conditions per rule. With Fallback Output None, unmatched items are ignored.
## Open several outputs by rule

1. Search for Switch and connect it after the previous node.
2. Leave Mode on Rules.
3. Under Routing Rules, select Add Routing Rule and set Conditions.
4. Turn on Rename Output when you want an Output Name label.
5. Wire each output to the next nodes. Select Execute step.

Mode can also be Expression: return an output index, and set Number of Outputs.

Fallback Output under Options defaults to None (default). To catch the rest, choose an extra output and optionally set Rename Fallback Output.

Refer to [Split a Duaer run with If and Switch](/flow-logic/splitting.md).
## Questions

### Can one item leave Switch in Duaer on several outputs?

By default it uses the first matching output. Turn on Send data to all matching outputs under Options to fan out to every match.

