User Documentationatfinity
Search…
Introduction
Guides
Getting Started
How To Guides
Troubleshooting
Advanced Topics
Glossary
Case
Instance
Process
Rules
Ontology
Information
Information Types
Information Category
Taxonomy
Document
Document Box
Document Section
Document Template
Tab
Proof
Role
Workflow
Translations
Email Templates
Maintenance Windows
Rule Language (RuLA)
What is RuLa?
Declarations
Expressions
Operators
Boolean Operators
Date Operators
NOW
TODAY
FORMAT_DATE
DAYS
ADD_YEARS
SUBTRACT_YEARS
AFTER
AFTER_EQUAL
BEFORE
BEFORE_EQUAL
DAYS_AGO
YEARS_AGO
Known Operators
List Operators
Mathematical Operators
String Operators
Special Operators
Conditional Expressions
Comments
Information about the case
Accessing the outcome instance
RuLa Functions
API
Generate API Keys
API Documentation
Calling your APIs within Cases
External Data Sources (e.g. CRM)
Deploying
Deploying on-site
Management commands
LDAP User Backend
Single Sign On
Integrations
Avaloq
Worldcheck
Releases
Release Schedule
Release Notes
Powered By GitBook
BEFORE

Description

BEFORE takes two dates, from either an information or in ISO8601 format, and checks if the first one comes before the second. If it does, true will be returned. Otherwise false will be returned.
​

Example

e is Entity
BEFORE(e.date_of_founding, '2016-02-29')
This expression checks whether a company was founded before 29th February 2016 (the actual founding date of Atfinity AG; so also if it's older than Atfinity). If it was, this expression will return true.
Previous
AFTER_EQUAL
Next
BEFORE_EQUAL
Last modified 2mo ago
Copy link
Outline
Description
Example