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

Historic process instance start event after variables are set

    • Icon: Feature Request Feature Request
    • Resolution: Unresolved
    • Icon: L3 - Default L3 - Default
    • None
    • None
    • engine
    • None

      User Story (Required on creation):

      I want to be informed when a process instance has been started and initial variables have been set.

      Functional Requirements (Required before implementation):

      An event is published after initial variables have been set on a new process instance

      Technical Requirements (Required before implementation):

      • Define a new event entity that reflects the desired state, e.g., HistoricProcessInstanceInitVariablesSetEvent.
      • Fire the new event after the variables are set on a new process instance. The variables are set in PvmExecutionImpl line 276 .

      Limitations of Scope (Optional):

      Hints (optional):

      • The desired behavior could be achieved with the HistoricProcessInstanceStartEvent until 7.12
      • With CAM-10978, the following was changed in 7.13:
        1. The HistoricProcessInstanceStartEvent is now fired first.
        2. The variables are set (see: PvmExecutionImpl line 276 ).
        3. The HistoricVariableUpdateEvent instances are fired.
      • CAM-10978 leads to the execution having no variables when the HistoricProcessInstanceStartEvent is processed. This refactoring was done to ensure correct ordering of the Historic events, i.e. a HistoricProcessInstanceStartEvent is fired before any HistoricVariableUpdateEventEntity instances are fired.

        This is the controller panel for Smart Panels app

            [CAM-13578] Historic process instance start event after variables are set

              Unassigned Unassigned
              dietl@nbsp.de Matthias Dietl
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: