We couldn't load all Actvitity tabs. Refresh the page to try again.
If the problem persists, contact your Jira admin.
Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-7610

Variable is not implicitly updated if scope is destroyed in same transaction

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • 7.8.0, 7.8.0-alpha2
    • None
    • engine
    • None

      Scenario:

      • process instance with a variable of type object
      • update that object value implicity (i.e. without calling DelegateExecution#setVariable or similar)
      • process instance ends in same transaction

      Result:

      • variable update is not reflected in history

      Expected behavior:

      • it should be visible in history

      Variants:

      • this is not only the case for the process scope, but basically for any scope (i.e. updates local variables of subprocesses are not reflected in history if the subprocess ends in same transaction)

      Root cause:

      • destroying a scope clears all the variables
      • clearing variables drops the cached value
      • check for implicit value updates happens only after that and is based on the cached value

      Forum post:

        This is the controller panel for Smart Panels app

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

            Variable is not implicitly updated if scope is destroyed in same transaction

              • Icon: Task Task
              • Resolution: Fixed
              • Icon: L3 - Default L3 - Default
              • 7.8.0, 7.8.0-alpha2
              • None
              • engine
              • None

                Scenario:

                • process instance with a variable of type object
                • update that object value implicity (i.e. without calling DelegateExecution#setVariable or similar)
                • process instance ends in same transaction

                Result:

                • variable update is not reflected in history

                Expected behavior:

                • it should be visible in history

                Variants:

                • this is not only the case for the process scope, but basically for any scope (i.e. updates local variables of subprocesses are not reflected in history if the subprocess ends in same transaction)

                Root cause:

                • destroying a scope clears all the variables
                • clearing variables drops the cached value
                • check for implicit value updates happens only after that and is based on the cached value

                Forum post:

                  This is the controller panel for Smart Panels app

                        thorben.lindhauer Thorben Lindhauer
                        thorben.lindhauer Thorben Lindhauer
                        Votes:
                        0 Vote for this issue
                        Watchers:
                        2 Start watching this issue

                          Created:
                          Updated:
                          Resolved:

                              thorben.lindhauer Thorben Lindhauer
                              thorben.lindhauer Thorben Lindhauer
                              Votes:
                              0 Vote for this issue
                              Watchers:
                              2 Start watching this issue

                                Created:
                                Updated:
                                Resolved: