-
Feature Request
-
Resolution: Fixed
-
L3 - Default
-
None
AT
- it should be possible to define variable listener, which will triggered when a specific variable will be:
- created,
- updated or
- deleted
Listeners can be defined on:
- case plan model
- stages
- tasks (human task, process task, case task)
XML:
- a listener is defined as an extension element
- a listener can be defined on an event (created, updated, deleted). If no event is provided, it listens for all events
- in the initial implementation, there is no configuration option for the variable names to be notified for
- A listener defined on some scope means that it is notified for every variable event that regards a variable that is either defined on that scope or one of its child scopes.
- On listener invocation, a context object is passed that allows to distinguish "where" in the scope hierarchy the variable was changed
- decide at the end of the implementation whether this would be a useful and feasible addition for the BPMN engine. If yes, create a follow-up ticket.
/////
documented in the CMMN extension elements reference: http://stage.docs.camunda.org/api-references/cmmn10/#custom-extensions-camunda-extension-elements