> ## Documentation Index
> Fetch the complete documentation index at: https://docs.flowx.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Timer events

> Trigger BPMN actions or events at predefined intervals, durations, or cycles to add time-based behavior to processes.

Timer events add time-based behavior to a process: they can start a process on a schedule, pause it until a duration or date is reached, or interrupt a task that runs too long. There are three timer event node types:

* **Timer Start Event**: This node initiates a process instance at a scheduled time. It allows you to set a specific date or a repeating cycle for the process to start, so a process can be triggered once or repeatedly.
* **Timer Intermediate Event**: This node introduces time-based triggers within a process. It's used to pause the process execution until a specified time duration or date is reached. Once triggered, the process continues its execution.
* **Timer Boundary Event (interrupting/non-interrupting)**: Attached to a task or subprocess, this node monitors the passage of time while the task is being executed. When the predefined time condition is met, the boundary event triggers an associated action, interrupting or non-interrupting the ongoing task or subprocess.

![Process canvas with a Timer Start Event, a Timer Intermediate Event, and timer boundary events attached to user tasks, service tasks, and a call activity](https://s3.eu-west-1.amazonaws.com/docx.flowx.ai/4.6/Screenshot%202024-12-03%20at%2014.37.56.png)

## Timers

Timers introduce the ability to trigger events at specific time intervals. They can be configured in three different ways: as a date, a duration, or a cycle. These configurations can use static values or dynamic values read from the process data.

* **Date**: Events triggered on a specific date and time.
  * Format: ISO 8601 (e.g., `2019-10-01T12:00:00Z` or `2019-10-02T08:09:40+02:00`). Seconds and a time zone (`Z` or an offset) are required.

* **Time Duration**: Events triggered after a specified duration.
  * Format: ISO 8601 duration expression (`P(n)Y(n)M(n)DT(n)H(n)M(n)S`)
    * P: Duration designator
    * Y: Years
    * M: Months
    * D: Days
    * T: Time designator
    * H: Hours
    * M: Minutes
    * S: Seconds

Examples:

* `PT15S` - 15 seconds
* `PT1H30M` - 1 hour and 30 minutes
* `P14D` - 14 days
* `P3Y6M4DT12H30M5S` - 3 years, 6 months, 4 days, 12 hours, 30 minutes, and 5 seconds

![Timer Intermediate Event configuration panel with the Date timer type and the definition editor showing a date picker, a time picker, and the preview 2026-10-15T09:30:00Z](https://s3.eu-west-1.amazonaws.com/docx.flowx.ai/01-intermediate-timer-date-editor.png)

![Timer Intermediate Event configuration panel with the Duration timer type and the definition editor converting 1 day 12 hours to the preview P1DT12H](https://s3.eu-west-1.amazonaws.com/docx.flowx.ai/02-intermediate-timer-duration-editor.png)

* **Time Cycle** (available for Timer Start Events and non-interrupting Timer Boundary Events): Events triggered at repeating intervals.
  * Option 1: ISO 8601 repeating intervals format (`R`)
    * Examples:
      * `R5/2023-08-29T15:30:00Z/PT2H`: Every 2 hours, up to five times, starting with 29 August, 15:30 UTC time
      * `R/P1D`: Every day, infinitely

![Non-interrupting timer boundary event configuration panel with the Cycle timer type, the ISO format selected, and the definition editor showing Repeat Every 4 hours, 3 repeats, the Infinite and Start Time options, and the preview R3/PT4H](https://s3.eu-west-1.amazonaws.com/docx.flowx.ai/03-boundary-noninterrupting-cycle-iso-editor.png)

* Option 2: Using cron expressions
  * Example: `0 0 9-17 * * MON-FRI`: Every hour on the hour from 9 a.m. to 5 p.m. UTC, Monday to Friday

> [!WARNING]
>
> Important: Only Spring cron expressions are permissible for configuration. Refer to the [**official documentation**](https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/scheduling/support/CronExpression.html) for detailed information on configuring Spring Cron expressions.

Scheduled timer events are clearly indicated within the process definition list of an application at Runtime, as illustrated in the following example:

![Runtime Scheduled processes list showing process definitions with active timer start events](https://s3.eu-west-1.amazonaws.com/docx.flowx.ai/4.6/scheduled_processes.png)

> [card] [Schedules](https://docs.flowx.ai/6.x/docs/projects/runtime/scheduled-processes.md)

More information about timer expressions you can find in the below section:

[Timer expressions](https://docs.flowx.ai/6.x/docs/building-blocks/node/timer-events/timer-expressions.md)

***

## Configure a timer

Select a timer node on the canvas (or a timer boundary event on its parent activity) to open its configuration panel. The panel has the following fields:

| Field | Description |
| - | - |
| **Timer Type** | **Date**, **Duration**, or **Cycle**. The options offered depend on the node type, see the [table below](#configuration). |
| **Format** | **ISO** or **Cron**, shown only for **Cycle** timers. **Date** and **Duration** timers always use ISO 8601. Cron expressions are read in UTC. |
| **Mode** | How you enter the value: **Guided**, **Expression**, or **Process variable**, picked with the buttons next to the field label. The buttons are hidden when only one mode applies. See [Which entry modes can I use?](#which-entry-modes-can-i-use) |
| **Fire at** | **Date** timers only. A date and time picker (`yyyy-MM-dd HH:mm`, 24-hour clock). The time you pick is in your local time. |
| **Definition** | The value of a **Duration** or **Cycle** timer, built from fields or typed as an expression. Mandatory. |
| **Parameter name** | Shown in **Process variable** mode instead of the value. A picker that lists the keys of the process data model. The key must start with a letter and may use dots for nested values (for example `customer.deadline`). |

Changing the timer type or the format clears the current value, and so does switching to or from **Process variable**. Switching between **Guided** and **Expression** keeps it.

### Which entry modes can I use?

| Mode | What you enter | Offered for |
| - | - | - |
| **Guided** (labelled **Static** for **Duration** timers) | Fields that build the value for you | **Date**, **Duration**, and ISO **Cycle** timers |
| **Expression** | The ISO 8601 or cron value, as typed | **Duration** and **Cycle** timers |
| **Process variable** | A process data key that holds the value at runtime | Timer Intermediate Events and Timer Boundary Events. Not available on Timer Start Events. |

In **Guided** mode, the fields depend on the timer type:

* **Date**: pick the date and time in **Fire at**. The Designer converts your local time to UTC when it saves, so 13:30 picked in a UTC+3 time zone is stored as `...T10:30:00Z`. To fire at a time computed per instance, use **Process variable** instead.
* **Duration**: type the length in plain words, for example `2 hours`, `1h30m`, `3 days and 4 hours`, or `1.5 weeks`. A **Preview** line under the field shows the ISO 8601 value (`PT2H`). `m` means minutes, durations must be longer than zero, and they must come out in whole seconds, so `500ms` and `1.5 months` are rejected.
* **Cycle** (ISO): **Repeat Every** (the same plain-language input as **Duration**), **# of repeats** or **Infinite**, and an optional **Start Time**. The start time is in your local time and must be in the future.
* **Cycle** (Cron): there are no guided fields. Type the six-field Spring cron expression (second, minute, hour, day of month, month, day of week). On Timer Start Events you also set an active window, see [Timer Start Event](https://docs.flowx.ai/6.x/docs/building-blocks/node/timer-events/timer-start-event.md#cron-expressions).

An invalid expression is rejected with the message **Invalid format.** before the node can be saved.

### How do I check when a cycle timer fires?

For **Cycle** timers, the panel shows a preview under the definition:

* the expression, with a copy button
* for cron, a plain-language summary marked **(UTC)**
* the next three fire times, in your browser's time zone

If a cron expression uses tokens the preview can't evaluate, such as `15W` or `LW`, the panel shows **Next fires can't be previewed for this expression**. The expression can still be saved.

> [!NOTE]
>
> Timers saved before FlowX.AI 6.0 with the old date and time pickers stored your local time marked as UTC. The panel now shows a stored value converted to your local time, so such a timer can look shifted by your UTC offset. The stored value, and the time the timer fires, don't change until you edit the timer.

***

## Configuration

For each node type, the following timer types can be configured:

| Node Type | Date | Duration | Cycle |
| - | - | - | - |
| Timer Start Event | Yes | No | Yes |
| Timer Intermediate Event | Yes | Yes | No |
| Timer Boundary Event (interrupting) | Yes | Yes | No |
| Timer Boundary Event (non-interrupting) | Yes | Yes | Yes |

> [!WARNING]
>
> A swimlane can hold only one start node of any kind (Start Event, Message Start Event, or Timer Start Event). Adding a second start node to the same swimlane is rejected.

For comprehensive details on each timer event node in this section, please refer to the corresponding documentation:

> [card] [Timer Start Event](https://docs.flowx.ai/6.x/docs/building-blocks/node/timer-events/timer-start-event.md)

> [card] [Timer Intermediate Event](https://docs.flowx.ai/6.x/docs/building-blocks/node/timer-events/timer-intermediate-event.md)

> [card] [Timer Boundary Events](https://docs.flowx.ai/6.x/docs/building-blocks/node/timer-events/timer-boundary-event.md)

> [card] [Timer expressions](https://docs.flowx.ai/6.x/docs/building-blocks/node/timer-events/timer-expressions.md)


## Related topics

- [Timer boundary event](https://docs.flowx.ai/6.x/docs/building-blocks/node/timer-events/timer-boundary-event.md)
- [Timer start event](https://docs.flowx.ai/6.x/docs/building-blocks/node/timer-events/timer-start-event.md)
- [Timer Intermediate Event (interrupting)](https://docs.flowx.ai/6.x/docs/building-blocks/node/timer-events/timer-intermediate-event.md)
- [Timer expressions](https://docs.flowx.ai/6.x/docs/building-blocks/node/timer-events/timer-expressions.md)
- [Initiating/starting processes](https://docs.flowx.ai/6.x/docs/flowx-designer/managing-a-project-flow/starting-a-process.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.