Skip to main content


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

Variable properties, methods, and events

Updated on October 19, 2022

Variables have their own set of methods to manipulate their values.

When you drag a variable from the Palette to the Automation Surface, the Select Action dialog opens. When you click the More button, the properties, methods, and events available for the variable display.

Variable properties, methods, and events
This figure shows the properties, methods, and events in the Select Action dialog for variables.

There is a small set of properties and events used by all variables. However, the methods differ for each variable. The following tables list the properties and events for variables. Each variable has its own table of methods, except that numeric variables (decimal, integer, and double) are grouped together.

Properties

PropertyDescription
ThisA reference to the current object.
ValueThe value of the variable.
Variable typeThe value type of the variable.

Event

EventDesctiption
ValueChangedOccurs whenever a variable value changes.

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