---
sourceDocument: Zurich Workflow Data Fabric
sourceDocumentLink: https://www.servicenow.com/docs/r/zurich/integrate-applications

 Release :

    - zurich

ft:locale :

    - en-US

ft:publication_title :

    - Zurich Workflow Data Fabric

ft:clusterId :

    - crint

bundleId :

    - crint

workflow :

    - Creator


---

# Use the Decision component

# Use the Decision component {#ariaid-title1}

* Release version: Zurich
* 
* Updated July 31, 2025
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

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.

## 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](https://www.servicenow.com/docs/a9Er~KZIglPS_1Q1_wwbXw "The Decision component supports certain functions and operators described in the topic. Use this topic as a reference.").

To configure the properties for the Decision component, see [Properties of the Conditions components](https://www.servicenow.com/docs/AhXmT567ed~xj5dFxxaixA "Learn about the properties for the Conditions components in RPA Desktop Design Studio.").

## Procedure

1. In the Toolbox pane, navigate to ConditionsDecision.
2. Drag the Decision component to the Design surface.
3. Double-click the field under the DECISION component bar.![Enable the Decision component field.]()
4. Enter the condition in the field, such as a=5 where "a" is the parameter.  
   A Data In port is dynamically created.
5. To enter a value in the Data In field, see [Configure port properties](https://www.servicenow.com/docs/kGXMTSCBH6H5nx8cA3ZpuA "Configure how data is passed to the input fields of a component or method in RPA Desktop Design Studio.").
6. Connect the data and control ports of the Decision component to the corresponding ports of the other components.  
   {#use-conditions-decisions__table_jnw_jn1_krb__entry__5}

   | Port type | Port name | Data type | Purpose of connection | Default Value |
   |-|-|-|-|-|
   | Data In | The name is the same as the name of the parameter. For example, in the condition a=5, "a" will be the port name. | Object | Takes the input or data for the parameters that are created in the condition. | None |
   [ ]

   {#use-conditions-decisions__table_jnw_jn1_krb}
7. **Optional:** To test the component, right-click the component bar and then click Run From Here.

## Accept an input and match with a condition {#use-conditions-decisions__example_xnx_r3z_xtb}

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](https://www.servicenow.com/docs/MwQfjmu5_VbQFHIVMeAifA "Create 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](https://www.servicenow.com/docs/uIVneWRor0Qdglqq24QHjQ "Display custom messages as part of a Attended Robot automation by using the Show component in the RPA Desktop Design Studio"))
component shows the message "False."

*[\>]: and then


