Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-2238

Provide variable listener (low level)

    XMLWordPrintable

    Details

    • Type: Feature Request
    • Status: Closed
    • Priority: L3 - Default
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.2.0, 7.2.0-alpha6
    • Component/s: engine
    • Labels:

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              meyer Daniel Meyer
              Reporter:
              roman.smirnov Roman Smirnov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: