On Shutdown

Process Starter

The On Shutdown process starter specifies a process to execute when the process engine shuts down, after all process instances are executed.

The On Shutdown process starter can be useful for specifying any post-processing that must be done before shutting down the engine. For example, your application may back up a database table then purge the data. Also, you may want to send email to administrators notifying them that the process engine is shutting down.

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