You are here

Listeners

Listeners are an Activiti extension to BPMN 2.0 that implement hook points inside a process definition which are triggered by events during workflow execution. There are two type of listeners, task and execution.

Execution listeners can be configured on the process itself, as well as activities and transitions. Task listeners can only be configured on user tasks.

Listeners enable you to run your own code in the workflow. This can be SkyVault Javascript or a call to a Java class. The following diagram shows the events in a process definition where you can configure a listener.

A diagram of a process definition showing events where listeners can be configured

Listeners are described in detail in the Activiti user guide.