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

Provide variable listener (low level)

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • 7.2.0, 7.2.0-alpha6
    • None
    • engine

      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

        This is the controller panel for Smart Panels app

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

                Created:
                Updated:
                Resolved: