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

Time for action – implementing execution and task listeners

To get a better understanding of execution and task listeners, we will design a process as shown in the following screenshot:

Time for action – implementing execution and task listeners

We will perform the following steps to implement the preceding process:

  1. Create an Activiti project in the Eclipse editor named ExecutionTaskListener.
  2. Create a class MyExecutionListener with the following code:
    public class MyExecutionListener implements ExecutionListener { @Override public void notify(DelegateExecution execution) throws Exception { // TODO Auto-generated method stub long approved_amount_limit; approved_amount_limit=50000; System.out.println("******************the ...

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