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

Process instances in Spring should be loaded in commands-scoped context

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • jBPM 6.0.0.Beta5
    • jBPM 5.4
    • Runtime Engine
    • None

      Process instances in Spring are loaded using the application context, not the command context. This can cause OptimisticLockingExceptions if the process instance was modified elsewhere, as this context is not cleared in between invocations.
      Using the command-scoped context will make sure that process instance changes between invocations are picked up at the beginning and don't cause a commit exception at the end.

              kverlaen@redhat.com Kris Verlaenen
              kverlaen@redhat.com Kris Verlaenen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: