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?
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
}
});