activities
latest
false
UiPath logo, featuring letters U and I in white
Workflow Activities
Last updated Nov 18, 2024

Flow Switch

System.Activities.Statements.FlowSwitch

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.

Cases

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.

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

Properties

Common
  • DisplayName - The display name of the activity.
Misc
  • 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.

    Note: This activity is built by Microsoft. For more information, see their official documentation.
  • Cases
  • Properties

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.