Skip to main content

Boolean expressions

Suggest edit Updated on November 10, 2021

The Boolean Expression component allows you to write expressions containing simple Boolean operators that yield a True or False result. Set the input types of the expression parameters using the Identifiers property of the component.

When you place the Boolean Expression component on an automation, a design block that contains input for the initiating event and the output result are contained within the block, along with an entry field for you to specify the expression. Expressions of undefined and defined Boolean Expression blocks are shown below:

Boolean expression

Complete the expression by entering a Boolean expression to evaluate.

Properties

PropertyDescription
ErrorsFor invalid expressions, messages regarding the invalid context display in this property.
Expression

The Boolean expression to perform. This component supports simple Boolean functions such a the following:

  • Greater than >
  • Less than <
  • Greater than or equal to >=
  • Less than or equal to <=
  • Equal to ==
Identifiers

Sets the types for the variables in the expression. After you enter an expression, browse this field to set the variable types using the Identifiers Editor window. Select the variable under the Members column and then select the DataType. Choose from the following options:

  • Double
  • Integer
  • String
  • Boolean

The default is Double.

ValidDisplays a value of True or False that indicates whether the syntax of the expression is accepted by Pega Robot Studio.
Did you find this content helpful? YesNo

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Ready to crush complexity?

Experience the benefits of Pega Community when you log in.

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us