Keywords
Press Ctrl + Space to view the list of available keywords. The list is separated into two categories, VARIABLES and MESSAGE HEADER FIELDS. When a keyword is selected, it is shown between square brackets as, for example: [current_date].
The available variable keywords and the scenarios in which they can be used are shown in this table:
| Keyword | Description | Scenario |
|---|---|---|
| current_datetime | Current UTC date time is represented as yyyy-MM-dd_HH-mm-ss-SSS.
|
Get from API Send to API Trigger API |
| current_datetime_iso |
Current UTC date time represented as yyyy-MM-ddTHH:mm:ss.SSSZ.
|
Get from API Send to API Trigger API |
| current_date | Current UTC date represented as yyyy-MM-dd.
|
Get from API Send to API Trigger API |
| last_executed_datetime |
The UTC date time of last execution that is represented as yyyy-MM-dd_HH-mm-ss-SSS.
|
Get from API |
| last_executed_datetime_iso |
The UTC date time of last execution represented as yyyy-MM-ddTHH:mm:ss.SSSZ.
|
Get from API |
| last_executed_date |
The UTC date of last execution that is represented as yyyy-MM-dd.
|
Get from API |
Behavior on API call failure
The last_executed_datetime and last_executed_datetime_iso values are updated only when the API call returns a successful response with an HTTP 2xx status code.
If the API call fails with a non-2xx response, this behavior applies:
- The executed date-time value is not stored.
- The
last_executed_datetimeandlast_executed_datetime_isovalues retain their previous values. - The next scheduled execution uses the same last executed value as the failed run. This behavior ensures that no data gap occurs between successful executions.
This table shows the behavior for successful and failed API calls:
| Scenario | last_executed_datetime or last_executed_datetime_iso updated? |
Next run behavior |
|---|---|---|
| API returns 2xx | Yes. The value is updated to the timestamp of the current execution. | Starts from the newly stored value. |
| API returns non-2xx, for example, 400, 500, or timeout | No. The previous value is retained. | Retries by using the same last executed value. |
Message header field keywords
This table shows the available Message header field keywords and the scenarios in which they can be used:
| Keyword | Description | Scenario |
|---|---|---|
| accounting_entity | The Accounting Entity that is populated in Message Header. |
Send to API Trigger API |
| batch_id | The Batch ID that is populated in Message Header. |
Send to API Trigger API |
| batch_sequence | The Batch Sequence that is populated in Message Header. |
Send to API Trigger API |
| batch_size | The Batch Size that is populated in Message Header. |
Send to API Trigger API |
| batch_revision | The Batch Revision that is populated in Message Header. |
Send to API Trigger API |