Skip to main content

Variable properties, methods, and events

Suggest edit Updated on November 10, 2021

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.
Did you find this content helpful? YesNo

Have a question? Get answers now.

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

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