camunda / camunda-modeler

An integrated modeling solution for BPMN, DMN and Forms based on bpmn.io.
https://camunda.com/products/modeler
MIT License
1.5k stars 482 forks source link

Support user task listeners #4590

Open barmac opened 1 week ago

barmac commented 1 week ago

What should we do?

Implement user task listeners in Camunda 8

<userTask id="my_user_task" name="my_user_task">
 <extensionElements>
   <zeebe:userTask/>
   <zeebe:taskListeners>
     <zeebe:taskListener eventType="create" type="create_listener" retries="2"/>
     <zeebe:taskListener eventType="assignment" type="assignment_listener"/>
     <zeebe:taskListener eventType="update" type="update_listener" retries="8"/>
     <zeebe:taskListener eventType="complete" type="complete_listener"/>
   </zeebe:taskListeners>
   <zeebe:priorityDefinition/>
   <!--other extension props e.g. assignmentDefinition, priorityDefinition-->
 </extensionElements>
 <!--other props-->
</userTask>

Projects:

Why should we do it?

Product hub epic: https://github.com/camunda/product-hub/issues/1316

barmac commented 3 hours ago

This is blocked until we clarify the XML structure: https://camunda.slack.com/archives/C0622NWC9LK/p1729161860084329

barmac commented 13 minutes ago

We clarified the XML structure, but the list of event types needs to be decided upon yet: https://github.com/camunda/product-hub/issues/1822#issuecomment-2419645986