Skip to main content

Variables

Suggest edit Updated on November 10, 2021

Variables are data values that can change during the execution of an automation, based on user input.

Variables are selected from the Toolbox. Variable properties are configured in the Property Grid.

Variables

  • Boolean variable

    Use the Boolean variable to connect Boolean output to another componentor to statically set a Boolean value to either True or False in an automation.

  • Char variable

    The Char variable is used for single characters or letters.

  • Color variable

    Use the Color variable to set the color of another Studio object.

  • DateTime variable

    Use the DateTime variable to convert an input type such as String to the DateTime type.

  • Double variable

    Use the Double variable to convert or set a Numeric type into a Double Precision type.

  • Font variable

    Use the Font variable to set the font of another object. You can choose from any of the Windows fonts which appear in the Font window. You must be able to connect the Font variable to a component that receives a Font input type.

  • Integer variable

    Use the Integer variable to convert or set a numeric to an Integer type.

  • RichText variable

    The RTF (Rich Text Format) variable accepts text in RTF format and outputs the text in RTF format. The variable can only receive RTF formatted text and will fail if you try to connect non-RTF data to it.

  • String variable

    Use the String variable to set a string value and perform methods on the variable. The value of the string variable changes as string variable methods are called.

  • Variable properties, methods, and events

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

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