Page tree
Skip to end of metadata
Go to start of metadata

Variables

In general, variables are values stored in predefined formats that are accessible throughout a knowledgebase. The various types include:

  • Global Variables: Administrative settings that change some aspect of the system itself. See Global Variables List for information on all global variables in the system. See Security and Global Variables for information on the most important variables for system security.
  • System Constants: Variables defined for the entire knowledgebase that return values based on the system configuration.
  • Table Variables: Variables that store formulas and calculate values based on a collection of records or fields in a table.
  • Field Variables: Variables that return values based on fields in a record.
  • User Variables: Variables that return values based on the current user's record in the People table.

Using Variables

To use a variable in a formula expression, wizard field, search, or report, you need to prefix it with a "$," such as $conversion_rate. When you insert variables with the Formula Help wizard, the system adds the "$" automatically. To minimize errors, we recommend inserting variables with the Formula Help wizard whenever possible.

Whether you are using a global variable, user variable, or other variable, refer to it by the variable name, not the label. The label is how the variable appears to users, whereas the name is how the variable is stored in the system. For instance, conversion_rate is a variable name, but Conversion Rate is a variable label.


CONTENTS