TaskListeners not available for Service tasks

In camunda modeler, I can see both task & execution listeners are configurable for the user task. But for service task only execution listeners available.

What about Task Listeners for Service Tasks?

Hi @aravindhrs,

Task listener can only be used with user tasks as it supports execution of custom code on the occurrence of user task’s related events like (assignment, complete)

Execution Listeners can be attached to any event within the normal token flow, e.g., starting a process instance or entering an activity including start or end of "user task"

https://docs.camunda.org/manual/7.9/user-guide/process-engine/delegation-code/

2 Likes