Is there any way to add automated operation on every task creation

Hi,

I need to realize some extra operation on every task creation. We can add listeners on process but I need to realize these operations for all tasks without requiring extra implementation on every process definition. Is there any way to write a task listener executed for all tasks on creation by default?

Thanks

You can hook into the engine when it loads process models and add a listener to every activity (or just some of them).

As I understand I can add custom implementation like aspect and there isn’t any ready-to-use functionality provided by camunda.

@alimercetin you can register the listener using process engine plugins.

Refer this example:

2 Likes

@aravindhrs thanks for the reply. This is actually what I need.

1 Like