Using the Boolean Variable

The following sample automation shows how a Boolean variable can be used with a Boolean Expression to compare the Checked property of a check box against the value True. If the check box is checked (the Checked property is True), then the automation causes a MessageDialog to display alerting the user of the check box selection.

Note that when you delete a variable from the Component Tray, its value is deleted throughout the solution. It is a good practice to place all of the variables that will be used in a solution on a special automation that is created to house the variables. Other automations in the solution can use the Value property of the variable. This avoids the possibility of accidentally deleting a variable from the entire solution.

 


Privacy | Trademarks | Terms of Use | Feedback

Updated: 18 June 2020

© 2016 - 2020 Pegasystems Inc.  Cambridge, MA All rights reserved.

 

OpenSpan data classification label