> For the complete documentation index, see [llms.txt](https://bpmflow.gitbook.io/project/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://bpmflow.gitbook.io/project/functional-and-technical-information/timers/process-creation-timer.md).

# Process Creation Timer

When a **BpmProcessDefinition** has a ***timer*** in **StartEvent** then each time the ***timer*** answer \[true] then a **BpmProcessInstance** of that process has to be created.

The **OS Process** compare all process definitions that are being monitored with created process instances and evaluates the ***timer*** to created another instance or not. **Blocks** receive two parameters when the evaluation is done: 1) ***lastExecutedTime*** - \[aTimeStamp] with the last executed time. 2) ***currentTime*** - \[aTimeStamp] which is the current time. In the example below **aBpmProcessInstance** is created each day.

![](https://3974112602-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LH4gGgyMb1_fhOg782r%2F-LHEdKpX6Zl_2wDJjkqp%2F-LHEdYL_REyvq2YAkfiA%2Ftimer-code-03.jpg?alt=media\&token=3206c384-5460-4180-849e-5f25db2f0c4a)

![](https://3974112602-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LH4gGgyMb1_fhOg782r%2F-LHEdKpX6Zl_2wDJjkqp%2F-LHEd_jMD6mQQf50mgg5%2Fcreation-timer-01.jpg?alt=media\&token=e0e42d61-f427-452f-9655-91e59a5ae316)

**Monitor** Each **BpmProcessDefinition** timer is compared with the last **BpmProcessInstance** *creationTime*.

![](https://3974112602-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LH4gGgyMb1_fhOg782r%2F-LHEdKpX6Zl_2wDJjkqp%2F-LHEdfH5HJZ73eLr_tgh%2Fproc-def-monitor.jpg?alt=media\&token=985ba10e-4907-41c6-907c-291572207fc0)
