IsAfter (Filter)

Description

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

Date types

Date TypeDefinition
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.
  • After:
    • Select a second argument (Date), select a constant date, or enter a dynamic date/time.

Hero Platform_ Example

An example of this function can be found in Hero Platform_'s library of examples.

Download the example titled "function_IsAfter" to see an example of this function. 

Type

Filter