UiPath Activities

The UiPath Activities Guide

Flow Switch


A Flowchart specific activity that splits the control flow into three or more branches, out of which a single one is executed based on a specified condition.


All the possible sequences out of which a single one is executed, based on its match with the provided Expression. The connected activities are automatically numbered, and the first one is the default case. You can change the case number or assign a different default case by clicking the corresponding arrow and changing the value of the Case field, or, respectively, selecting the IsDefaultCase check box. If none of the cases match the Expression, the Default case is executed. If no Default case is added, the project is executed, but the activity does not return any output.



You can only assign one default case. Default cases are not numbered.



  • DisplayName - The display name of the activity.


  • Private - If selected, the values of variables and arguments are no longer logged at Verbose level.
  • Expression - The condition to be analyzed before one of the cases is executed. By default, the variable type supported by this field is Int32. To change the variable type, select a different option in the TypeArgument drop-down list.
  • TypeArgument - Enables you to select the type of statement that can be added in the Expression property. By default, Int32 is selected.



This activity is built by Microsoft. For more information, see their official documentation.

Updated about a year ago

Flow Switch

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.