Call Listener when clicking on save/custom button

Hi at all,

Is it possible to call a Listener when clicking on the save button in tasklist?
I want to enter a date in an embedded form and when the user just saves his form, I want to call a listener that sends a mail.
Or is it possible to place a button in an embedded form that calls a listener that sends a mail when you click it?

Thanks for your help :slight_smile:

@MarvinKern when you save the date value in the embedded form, does it persists that field in db? If yes, then you can configure the UpdateListener on the event of task update.

https://blog.camunda.com/post/2019/11/camunda-bpm-7120-released/update-listener-process.gif

The update event occurs when a task property (e.g. assignee, owner, priority, etc.) on an already created task is changed. This includes attributes of a task (e.g. assignee, owner, priority, etc.), as well as dependent entities (e.g. attachments, comments, task-local variables). Note that the initialization of a task does not fire an update event (the task is being created). This also means that the update event will always occur after a create event has already occurred.

Note: This feature is available from Camunda Version 7.12

1 Like

Ahh super, thank you :slight_smile:
Exactly what I am looking for.