O'Reilly logo

Activiti 5.x Business Process Management Beginner's Guide by Irshad Mansuri, Dr. Zakir Laliwala

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Introducing execution and task listeners

Listeners are used to perform background execution. They are used to perform automatic tasks in the background, such as the autoexecution of any activity, autotransactions, and creating users. Listeners provide great hooks into process execution; they can be used for business process management and simpler things such as flexibly assigning a group of candidate users to a user task. It is used to execute external Java code. We can also perform some expressions during the occurrences of some events.

Activiti supports two types of listeners:

  • Execution listeners
  • Task listeners

Execution listeners

An execution listener is a class file implementation that can be used during the execution of a process. Let's say we ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required