IsBefore (Filter)

Description

Tests if the argument's field dates come before another argument's field dates or a constant date. Records that meet the conditions are passed on within the Flow. 

Date types:

Date Type
Definition
Field dateA stored tuple value.
Constant dateA specific date/time value.
Dynamic dateA variable date/time value created with functions and/or operator symbols.

Dynamic Date Guide

Supported function

FunctionDescription
now()Use the function "now()" as a dynamic date that sets the time/date value to Hero_Flow's internal clock value when the Flow is run.

Supported operators

Operator symbolDescription
+Adds to the date/time value based on the date/time unit entered.
-Subtracts from the date/time value based on the date/time unit entered.

Supported temporal units

Time/Date unit symbolDescription
sSeconds
minMinutes
hHours
dDays
wWeeks
mMonths
yYears

Example

The goal is to use IsAfter to filter results with date values that are within the past five minutes from the current time.

  • Select the IsAfter filter function.
  • In the function configuration:
    • Select a date/time value in the first field.
    • Enter "now() -5min" in the second field.
  • Click OK.

Use

  • Date:
    • Select an argument (Date), select a constant date, or enter a dynamic date/time.
  • Before:
    • Select a second argument (Date), select a constant date, or enter a dynamic date/time.

Type

Filter