Configuring Java Delegates as Execution Listener

Can we configure the Java delegate classes which I used in service task as an Execution Listener, hence Java Delegate & Execution Listener has the DelegateExecution as the parameter?

Hi @aravindhrs,

yes, you can. Have a look at https://docs.camunda.org/manual/7.9/user-guide/process-engine/delegation-code/#execution-listener, it says:

It is also possible to use a delegation class that implements the org.camunda.bpm.engine.delegate.JavaDelegate interface. These delegation classes can then be reused in other constructs, such as a delegation for a service task.

Cheers, Ingo

1 Like