Constants & Placeholders
Built-in constants
Every scenario has a CONSTANTS dictionary available in expressions — in
Create variable, Condition, Assert and Python Code. All values are
evaluated once, when the run starts.
| Key | Value |
|---|---|
FULL_DATE | The run date as a date object — use .strftime(...) to format it. |
YEAR | Four-digit year, e.g. 2026. |
MONTH | Two-digit month, e.g. 08. |
DAY | Two-digit day of the month. |
DAY_OF_WEEK | Day of the week as a number, Sunday = 0. |
DAY_OF_WEEK_NAME | Day name, e.g. Wednesday. |
START_TIME | Full timestamp of when the run started. |
IS_WORK_DAY | True Monday–Friday, False at the weekend. |
QUARTER | Calendar quarter, 1–4. |
WEEK_NUMBER | ISO week number. |
Example:
f"Report_{CONSTANTS['YEAR']}_Q{CONSTANTS['QUARTER']}.xlsx"
AIVIRO_NOTIFICATIONS holds the messages collected by Add Message so far, which lets
a Python Code block or a Condition react to what the run has already reported.
IS_WORK_DAY is the neat way to make a daily schedule skip weekends without touching the
cron expression: wrap the body in a Condition on CONSTANTS['IS_WORK_DAY'].
Character constants
The auto-completer's Constants tab also offers two characters that cannot be typed into a value field directly, because a quoted literal stores exactly the characters it shows:
| Tab entry | Inserts | Value |
|---|---|---|
| newline | chr(10) | A line break. |
| tab | chr(9) | A tab character. |
A typed \n is stored as a backslash followed by the letter n, not as a line break — see
Saving and reopening.
Referencing variables
In any value field, $ followed by a variable name inserts that variable's value:
$Helios_path
$project_name
This is what the Commands tree and the Diagram view show in their one-line action
summaries — Command: $Helios_path, Subject: $project_name.
The $ applies in expressions too — $amount * 1.21, $record['state'] == "OK". The two
exceptions are inside the braces of a hand-written f-string (f"Hello {name}", not
{$name}) and inside the Python Code action, which is ordinary Python.
For the full rules — text with variables, arithmetic, dates, operators, list handling — see Values, Variables & Expressions.
Secret placeholders
Reference a Vault entry from any text parameter:
{{SECRET:MY_KEY}}