Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-6434

ProcessInstance is not correctly persisted when loaded with readOnly = true early in the same transaction

    Details

      Description

      With conditions below:

      • Parent/Sub process
      • Tx1
        • Start a parent process instance
        • Sub process is started by CallActivity
        • Reached to a Human Task in the sub process. Tx Committed
      • Tx2
        • Load the parent process with getProcessInstance(parentProcessInstanceId, true) // readOnly = true
        • Complete the Task in the sub process
        • Sub process is completed
        • Parent process instance is resumed
        • Reached to a Human Task in the parent process. Tx Committed

      Parent ProcessInstance is not correctly persisted at the last step. For example, process variable is not updated.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  swiderski.maciej Maciej Swiderski
                  Reporter:
                  tkobayashi Toshiya Kobayashi
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: