FormulaGlobal Enum

Specifies a global variable that references data in your organization in the withGlobalVariables(formulaGlobals) method.

The following are the values of the FormulaEval.FormulaGlobal enum.

ValueDescription
CUSTOMMETADATAA custom metadata record.
LABELA global variable to use when referencing a custom label.
ORGANIZATIONA global variable to use when referencing information about your company profile, such as organization’s city, fax, ID, or other details.
PERMISSIONA global variable to use when referencing information about the current user’s custom permission access.
PROFILEA global variable to use when referencing information about the current user’s profile, such as license type or name.
SETUPA global variable to use when referencing a custom setting of type hierarchy.
SYSTEMA global variable that exposes OriginDateTime and represents the literal value of 1900-01-01 00:00:00. Use this global variable when performing date/time offset calculations, or to assign a literal value to a date/time field.
USERA global variable to use when referencing information about the current user, such as alias, title, and ID.
USERROLEA global variable to use when referencing information about the current user’s role, such as role name, description, and ID.