It is often useful to run tasks periodically - for example to schedule the production of EOD reports, or to send a warning when a defined limit is reached. For such purposes, the Genesis low-code platform provides a feature called the Evaluator.
In system terms, Evaluators enable you to connect Event Handlers to two different kinds of event: dynamic and static (cron rules).
- Dynamic Rules, which are defined as groovy expression, which respond to changes to database table entries, and
- Cron Rules, which are scheduling rules; these are defined as quartz cron expression.
In both cases, you define the rule in a table in the database: DYNAMIC_RULES for dynamic rules and CRON_RULES for static rules.