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

I can implement execution listeners on the process start/end events as external tasks #2486

Open
ThorbenLindhauer opened this issue Mar 5, 2021 · 0 comments
Labels
scope:core-api Changes to the core API: engine, dmn-engine, feel-engine, REST API, OpenAPI type:feature Issues that add a new user feature to the project.

Comments

@ThorbenLindhauer
Copy link
Member

This issue was imported from JIRA:

Field Value
JIRA Link CAM-13198
Reporter @ThorbenLindhauer
Has restricted visibility comments false

User Story (Required on creation):

When using the engine via REST API (standalone/remote engine), I want to receive notifications when process instances are started or completed so that I can update state in my systems according to the state of process execution (e.g. keeping track of the hierarchy of process execution through call activities)

Functional Requirements (Required before implementation):

  • I can define a listener on the "start" event of a process and configure it as an external task (type "External", topic can be chosen by the user)
  • There is a new type of event called "complete". It is triggered when a process completes successfully, but not when it is canceled (the "end" event covers both)
  • I can define a listener on the "complete" event of a process and configure it as an external task (type "External", topic can be chosen by the user)

Technical Requirements (Required before implementation):

  • to be defined: can events (e.g. event subprocesses) be triggered while the process instance is in this wait state?

Limitations of Scope (Optional):

  • Triggering the listener on cancellation is not in scope, because of high technical complexity. For example if a boundary event cancels an activity that has an external task end listener, deletion of executions has to become asynchronous which is very hard to implement in the process engine

Hints (Optional):

Links:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope:core-api Changes to the core API: engine, dmn-engine, feel-engine, REST API, OpenAPI type:feature Issues that add a new user feature to the project.
Projects
None yet
Development

No branches or pull requests

1 participant