Functions, data types, and operators

  • Release version: Australia
  • Updated March 12, 2026
  • 1 minute to read
  • The Decision component supports certain functions and operators described in the topic. Use this topic as a reference.

    Supported functions and operators

    Table 1. Supported functions and operators
    Type Example Evaluated as
    Values
    • Integer
    • Floating point number
    • Date and time
    • Boolean
    • String
    • Function
    • Parameter
    Not applicable
    Integers Represented using numbers. Example, 443, 124, and 665. Int32
    Floating point numbers 221.12, 43.76, and 5.9 Decimal
    Scientific notation
    You can use the e to define the power of 10 (10^).
    • 1.22e1
    • 1e2
    • 1e+2
    • 1e-2
    • .1e-2
    • 1e10
    Double
    Dates and Times

    Must be enclosed between sharps.

    #2008/01/31# // for en-US culture

    DateTime
    Boolean True or False Boolean
    Strings

    Any character between single quotes ' is evaluated as String.

    'ServiceNow'
    Parameters

    A parameter as a name, and can be optionally contained inside brackets.

    2 + x, 2 + [x]

    Function

    A function is made of a name followed by braces, containing optionally any value as arguments. Abs(1), doSomehting(1, 'dummy')

    Operators Expressions can be combined using operators. Each operator as a precedence priority. Here is the list of those expression's priority.
    1. primary
    2. unary
    3. power
    4. multiplicative
    5. additive
    6. relational
    7. logical
    Logical These operators can do some logical comparison between other expressions:
    • or - ||
    • and - &&
    • true or false

    The and operator has a higher priority than the or, thus in the example above, false and true are evaluated first.

    Relational Relational operators are used to compare values. These operators always result in a boolean value.
    • =, ==, !=, <>
    • <, <=, >, >=
    • 1 < 2