How to attached TaskListener class to user task

Hi,
I am new to camunda bpm framework.
Anybody can guide me on how to call TaskListener when user task get created(create event) using Fluent API.

Hi @milindk,

is that what you are looking for?

Cheers,
Askar

1 Like

Hi aakhmerov,

Thanks for your response. I too thought off doing same thing but i am not getting camundaTaskListenerClass method supporting user task.

could you please tell us what could be the issue? I just attaching properties available for usertask for me.

Hi @milindk,

which version of camunda-bpmn-model are you using?

Cheers,
Askar

Hi Askar,

I am using 7.5.0 version.

Regards,
Milind

Hi @milindk,

Iā€™m afraid this method is only available since version 7.6.0-alpha5. You could either upgrade or implement it yourself.

Cheers,
Askar

Hi Askar,

Thanks for you quick response and suggestion !!

Regards,
Milind