Skip to main content

Uniphore Customer Portal

Variable Types Used in Logical Conditions

When a condition is specified in a Decision Point, Account Rule or other logical element, an equation-based comparator is used to evaluate condition logic by according to variable type.

The following table summarizes the variable types and operators that are available in logical condition statements:

Variable Type

Operators Available

Text

  • equals

  • does not equal

  • starts with

  • ends with

  • contains

Number/Currency

  • equals

  • does not equal

  • greater than or equals

  • greater than

  • less than or equals

  • less than

Date

  • equals

  • does not equal

  • greater than or equals

  • greater than

  • less than or equals

  • less than

  • between dates

  • between hours *

  • equals day of week (e.g., Monday)

Boolean

  • equals

Dynamic Variable

  • equals

  • does not equal

  • is empty

  • is not empty

  • greater than or equals

  • greater than

  • less than or equals

  • less than

Photo

  • is empty

  • is not empty

* Valid for use only with the Internal value 'Current Date' and Session Variable 'Time Stamp'

Comparing Two Date Values in Interact

The value of a Date variable is always stored in Milliseconds. However, a Date value is displayed on X‑Platform showing only the standard Month, Day and Year.

This means that two displayed values may show the same date (e.g., 10/29/2018) even though their stored values are different (e.g., 10/29/2018 15:45:33:445vs. 10/29/2018 15:45:37:214.

It's important to be aware of this difference in certain scenarios, for example, when you want to check the value of two dates to see if they are equal. In such a scenario, you will need to parse each date without its millisecond value in order to receive the correct answer.