IS_AFTER_TODAY
IS_AFTER_TODAY:
arg: { arg } # required
Description
The IS_AFTER_TODAY
operation checks if a DateTime
value, provided as the argument arg
, is strictly after the current day (today). The comparison is based on the current date at UTC midnight. It returns a Boolean
value: true
if the arg
DateTime is after today, and false
otherwise.
Parameters
arg
(Operation<DateTime
>, required):
Return Type
Examples
-
Checking if a date field is after today:
IS_AFTER_TODAY:
arg:
FIELD:
path: CA10__startTime__c # Assume this field returns a DateTime valueThis example checks if the date in the
CA10__startTime__c
field is after the current day. -
Using
IS_AFTER_TODAY
in a Condition:- status: COMPLIANT
currentStateMessage: "Certificate is not expired yet."
check:
IS_AFTER_TODAY:
arg:
EXTRACT: CA10__expiration__c # Assume 'CA10__expiration__c' is an extract returning DateTimeThis condition flags a resource as
COMPLIANT
if its expiration date, obtained from theCA10__expiration__c
extract, is in the future.
See more details in: