Create no event subscriptions for conditional events

XMLWordPrintable

    • Type: Task
    • Resolution: Fixed
    • Priority: L3 - Default
    • 7.6.0, 7.6.0-alpha6
    • Affects Version/s: None
    • Component/s: engine
    • None

      At parsing no event subscriptions are created which will be persisted. Only create event subscriptions which are added to the ActivityImpl. It is like on escalations events.

      So dispatchEvent Method refactoring can look like this:

      • walk execution tree top down, for each execution do:
        access ActivityImpl and get conditional event subscriptions for that scope (i.e. not a
        persistent entity, but the subscriptions from the parsed process definition)
      • check condition, trigger event (e.g. spawn new execution, etc.)
      • It's similar for escalation events, where we just walk the tree upwards and stop on the first
        catching escalation event subscription.

      There is no need of anything persistent to find conditional events. At least as long as condition triggering is restricted to a single process instance.

      See discussion in CAM-6862.

            Assignee:
            Thorben Lindhauer
            Reporter:
            Christopher Kujawa
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: