Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

Use the Decision component

Automate the decision-making process by using the Decision component in RPA Desktop Design Studio.

Watch this video to learn how to use the Decision component.

[Omitted video] Description: How to use the Decision component

Before you begin

Role required: none

About this task

You can specify a conditional expression in the component. If the expression contains any parameters, they appear as input ports. If the expression is correct based on the inputs provided, then the True Output Port takes control. Else, the False Output port takes control and executes the automation.

For defining conditions, the Decision component provides many functions, operators, and expressions. For more information, see Functions, data types, and operators.

To configure the properties for the Decision component, see Properties of the Conditions components.

Procedure

  1. In the Toolbox pane, navigate to Conditions > Decision.

  2. Drag the Decision component to the Design surface.

  3. Double-click the field under the DECISION component bar.

Image omitted: decision-enable-field.png
Enable the Decision component field.
  1. Enter the condition in the field, such as a=5 where "a" is the parameter.

    A Data In port is dynamically created.

  2. To enter a value in the Data In field, see Configure port properties.

  3. Connect the data and control ports of the Decision component to the corresponding ports of the other components.

    Port typePort nameData typePurpose of connectionDefault Value
    Data InThe name is the same as the name of the parameter. For example, in the condition a=5, "a" will be the port name.ObjectTakes the input or data for the parameters that are created in the condition.None
  4. To test the component, right-click the component bar and then click Run From Here.

Accept an input and match with a condition

In the DECISION component, a conditional expression "i=10" is set. Since "i" is the parameter, an input port is dynamically created in the component. The Variable (Create and use a variable in RPA Desktop Design Studio) component provides the input "5" to the Decision component which is False. Hence, the False Output port takes control and the Show (Use the Show component) component shows the message "False."

Image omitted: Decision.PNG
Use of the Decision component

Parent Topic:Conditions