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

Add support for execution listeners #3951

Closed
17 tasks done
Tracked by #16261 ...
barmac opened this issue Oct 27, 2023 · 5 comments · Fixed by #4439
Closed
17 tasks done
Tracked by #16261 ...

Add support for execution listeners #3951

barmac opened this issue Oct 27, 2023 · 5 comments · Fixed by #4439
Assignees
Labels
BPMN Camunda 8 Flags an issue as related to Camunda 8 enhancement New feature or request
Milestone

Comments

@barmac
Copy link
Collaborator

barmac commented Oct 27, 2023

Tracks modeling parts of https://github.com/camunda/product-hub/issues/915.

Description

Support modeling of execution listeners within BPMN models Camunda 8 diagrams:

<zeebe:executionListeners>
  <zeebe:executionListener eventType="start" retries="3" type="start_execution_listener_type"/>
  <zeebe:executionListener eventType="end" retries="5" type="end_execution_listener_type_1"/>
  <zeebe:executionListener eventType="end" retries="2" type="end_execution_listener_type_2"/>
</zeebe:executionListeners>

What should we do?

  • I can define execution listeners
  • I can define execution listener eventType (required)[string type] ("start"/"end") - values [start, end], define when the EL should be executed, either before or after the element is processed.
    • Tasks (start/end)
    • Process (start/end)
    • Subprocesses (start/end)
    • Events (start/end)
    • Gateways (only start)
  • I can define a job (listener) definition type (required) [string or FEEL expression type] - to subscribe to as a worker
  • I can define the same properties as for the “usual” job:
    • retires(optional, default is 3) [string or FEEL expression type] - defines the number of times a job should be retried if a failure is signaled by a worker.
  • Duplicate ELs are marked as invalid

EL support matrix is in camunda/camunda-docs#4017

Why should we do it?

Child of https://github.com/camunda/product-hub/issues/915

@barmac barmac added BPMN enhancement New feature or request backlog Queued in backlog Camunda 8 Flags an issue as related to Camunda 8 labels Oct 27, 2023
@ce-dmelnych ce-dmelnych changed the title Support execution listener Add Execution Listener support in Desktop Modeler Feb 8, 2024
@ce-dmelnych ce-dmelnych changed the title Add Execution Listener support in Desktop Modeler Add Execution Listener's support in Desktop Modeler Feb 8, 2024
@nikku nikku added the ready Ready to be worked on label May 8, 2024 — with bpmn-io-tasks
@nikku nikku removed the backlog Queued in backlog label May 8, 2024
@nikku nikku changed the title Add Execution Listener's support in Desktop Modeler Add support for execution listeners May 8, 2024
barmac added a commit to camunda/zeebe-bpmn-moddle that referenced this issue May 8, 2024
@barmac
Copy link
Collaborator Author

barmac commented May 8, 2024

Schema part will be implemented via camunda/zeebe-bpmn-moddle#57

barmac added a commit to camunda/zeebe-bpmn-moddle that referenced this issue May 8, 2024
barmac added a commit to bpmn-io/bpmn-js-properties-panel that referenced this issue May 8, 2024
@barmac
Copy link
Collaborator Author

barmac commented May 8, 2024

Re-built with bpmn-io/bpmn-js-element-templates#96

barmac added a commit to camunda/zeebe-bpmn-moddle that referenced this issue Jul 4, 2024
barmac added a commit to camunda/zeebe-bpmn-moddle that referenced this issue Jul 4, 2024
barmac added a commit to camunda/zeebe-bpmn-moddle that referenced this issue Jul 4, 2024
barmac added a commit to camunda/camunda-bpmn-js-behaviors that referenced this issue Jul 5, 2024
barmac added a commit to camunda/camunda-bpmn-js-behaviors that referenced this issue Jul 5, 2024
barmac added a commit to bpmn-io/bpmn-js-properties-panel that referenced this issue Jul 5, 2024
@bpmn-io-tasks bpmn-io-tasks bot removed the in progress Currently worked on label Jul 23, 2024
@barmac barmac added the in progress Currently worked on label Jul 23, 2024 — with bpmn-io-tasks
@barmac barmac removed the needs review Review pending label Jul 23, 2024
@barmac
Copy link
Collaborator Author

barmac commented Jul 23, 2024

Linting part will be shipped via camunda/bpmnlint-plugin-camunda-compat#168

barmac added a commit to camunda/bpmnlint-plugin-camunda-compat that referenced this issue Jul 29, 2024
Related to camunda/camunda-modeler#3951

feat: add `no-duplicate-execution-listeners' rule

feat: add `no-execution-listeners` rule

feat: add `execution-listener` rule
barmac added a commit to camunda/bpmnlint-plugin-camunda-compat that referenced this issue Jul 29, 2024
Related to camunda/camunda-modeler#3951

feat: add `no-duplicate-execution-listeners` rule

feat: add `no-execution-listeners` rule

feat: add `execution-listener` rule
barmac added a commit to bpmn-io/bpmn-js-element-templates that referenced this issue Jul 29, 2024
barmac added a commit to camunda/bpmnlint-plugin-camunda-compat that referenced this issue Jul 30, 2024
Related to camunda/camunda-modeler#3951

feat: add `no-duplicate-execution-listeners` rule

feat: add `no-execution-listeners` rule

feat: add `execution-listener` rule
barmac added a commit to bpmn-io/bpmn-js-element-templates that referenced this issue Jul 30, 2024
philippfromme pushed a commit to camunda/bpmnlint-plugin-camunda-compat that referenced this issue Jul 31, 2024
Related to camunda/camunda-modeler#3951

feat: add `no-duplicate-execution-listeners` rule

feat: add `no-execution-listeners` rule

feat: add `execution-listener` rule
barmac added a commit to camunda/linting that referenced this issue Jul 31, 2024
Related to camunda/camunda-modeler#3951

deps: update dependencies

feat: adjust duplicated execution listeners message

feat: adjust missing execution listener type message

feat: support execution listeners in properties panel

feat: adjust missing execution listener support message
barmac added a commit to camunda/linting that referenced this issue Jul 31, 2024
Related to camunda/camunda-modeler#3951

deps: update dependencies

feat: adjust duplicated execution listeners message

feat: adjust missing execution listener type message

feat: support execution listeners in properties panel

feat: adjust missing execution listener support message
barmac added a commit to bpmn-io/bpmn-js-element-templates that referenced this issue Jul 31, 2024
@barmac barmac added fixed upstream Requires integration of upstream change and removed in progress Currently worked on labels Jul 31, 2024
@barmac
Copy link
Collaborator Author

barmac commented Jul 31, 2024

This is now fixed upstream.

barmac added a commit that referenced this issue Aug 1, 2024
@bpmn-io-tasks bpmn-io-tasks bot added needs review Review pending and removed fixed upstream Requires integration of upstream change labels Aug 1, 2024
barmac added a commit that referenced this issue Aug 1, 2024
barmac added a commit that referenced this issue Aug 1, 2024
@barmac barmac closed this as completed in ab7aebd Aug 1, 2024
@bpmn-io-tasks bpmn-io-tasks bot removed the needs review Review pending label Aug 1, 2024
@github-actions github-actions bot added this to the M79 milestone Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BPMN Camunda 8 Flags an issue as related to Camunda 8 enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants