On Startup

Process Starter

The On Startup process starter specifies a process to execute when the process engine starts, before any incoming events are processed. In the event that the process engine is restarting and attempting to recover checkpointed process instances, the On Startup process definition must complete its execution before any recovered process instances execute.

The On Startup process starter can be useful to specify any pre-processing that must be done before regular processing starts. For example, your application may check that the required database tables exist and create them necessary. Also, you may want to send email to administrators notifying them that the process engine is starting.

Typically, you create one process definition that uses the On Startup process starter and place all pre-processing activities into that process definition. However, you can have more than one process definition that uses the On Startup process starter. All process definitions with the On Startup process starter execute in no specific order when the process engine starts.

Note: All On Startup process definitions must complete successfully before normal processing can begin.