1 Reply Latest reply on Sep 28, 2012 11:23 AM by edsdev

    how to handle human task events

    ganesh0902

      I have a requirement where I need to call another service when a task is updated, it can be any task action like task initiated, claimed, release, suspended,resumed or completed. Is there any option where I can customize the service and handle this events?

        • 1. Re: how to handle human task events
          edsdev

          Try the code below.  please note that there are other events you can use.

           

           

           

          ksession.addEventListener(new DefaultProcessEventListener() {

               @Override

               public void afterProcessCompleted(ProcessCompletedEvent pce) {

                    //Do my work here

               }

          });