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

Create no event subscriptions for conditional events

    XMLWordPrintable

    Details

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

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              thorben.lindhauer Thorben Lindhauer
              Reporter:
              christopher.zell Christopher Zell
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: