Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Boolean expressions

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.

Have a question? Get answers now.

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

Did you find this content helpful?

Want to help us improve this content?

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