Realtime Constraints

Overview #

A Realtime Constraint contains an array of STRING values that represent different time intervals. These intervals are all relative to the current time, which means they assume the current time and then use an interval to determine how far back to go. The values range from “Last 5 Minutes” to “Last 5 Years”.

Realtime Constraint values #

The stock Realtime Constraint contains a fixed set of values.  This generic set of intervals makes for a quick option, particularly if you are unsure what the appropriate time constraints should be.  A complete list of the default Realtime Constraint values are shown below:

  • Last 5 Minutes
  • Last 15 Minutes
  • Last 30 Minutes
  • Last 1 Hour
  • Last 6 Hours
  • Last 12 Hours
  • Last 24 Hours
  • Last 7 Days
  • Last 30 Days
  • Last 60 Days
  • Last 90 Days
  • Last 1 Year
  • Last 2 Years
  • Last 5 Years

Custom Realtime Constraint #

If an administrator wants more control over the time intervals exposed to end users, then they will need to select a Custom Realtime Constraint.  This option allows you to build up a custom list of time intervals.  Because Realtime Constraints assume the current date as one value, you only need to configure how far back in time to go in order to establish the range.

Properties #

Each list item in the Custom Realtime Constraint configuration represents a string, and consists of the following properties:

Property
Description
Last A number value that determines how far the constraint will look back from the current time.
Unit of measure Used in conjunction with the “Last” property. It specifies the unit of time, ranging from “seconds” to “years”
Label The label to display when this Custom Realtime Constraint option is shown in a pull-down list for selecting a Default Value.

Allowed Units of Measure #

  • Seconds
  • Minutes
  • Hours
  • Days
  • Weeks
  • Months
  • Quarters
  • Years