Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support user task listeners #4590

Open
11 tasks
barmac opened this issue Oct 8, 2024 · 2 comments
Open
11 tasks

Support user task listeners #4590

barmac opened this issue Oct 8, 2024 · 2 comments
Labels
Camunda 8 Flags an issue as related to Camunda 8 modeling needs more information Requires additional information to be actionable.

Comments

@barmac
Copy link
Collaborator

barmac commented Oct 8, 2024

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>
  • I can define task listeners on user task
    • type (string, FEEL expression)
    • eventType (options to be clarified)
    • retries (string, FEEL expression, default is 3)
  • (to clarify) I can define task listeners on process
  • (to clarify) Duplicate task listeners are marked as invalid
  • TLs can be used in Camunda 8.7 or newer

Projects:

  • zeebe-bpmn-moddle part
  • bpmn-js-properties-panel part
  • bpmnlint-plugin-camunda-compat part
  • camunda/linting part (error messages, properties panel entries)

Why should we do it?

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

@barmac barmac added Camunda 8 Flags an issue as related to Camunda 8 modeling labels Oct 8, 2024
@nikku nikku added the needs more information Requires additional information to be actionable. label Oct 9, 2024
@barmac
Copy link
Collaborator Author

barmac commented Oct 17, 2024

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

@barmac
Copy link
Collaborator Author

barmac commented Oct 17, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Camunda 8 Flags an issue as related to Camunda 8 modeling needs more information Requires additional information to be actionable.
Projects
None yet
Development

No branches or pull requests

2 participants