Uploaded image for project: 'JBoss BPMS Platform'
  1. JBoss BPMS Platform
  2. RHBPMS-4528

SessionNotFoundException thrown when getting not existing process instance

    XMLWordPrintable

Details

    • CR1
    • Hide

      This can be reproduced in Business Central remote client when calling KieSession#getProcessInstance but also directly in jBPM engine by calling ProcessService#getProcessInstance method.

      Show
      This can be reproduced in Business Central remote client when calling KieSession#getProcessInstance but also directly in jBPM engine by calling ProcessService#getProcessInstance method.

    Description

      If you try to get not existing process instance using per process instance session strategy, you will get SessionNotFoundException. It should behave the same way regardless which session strategy is used and return null if the process instance no longer exists.

      This has already been fixed for KIE Server in version 7 (see JBPM-5403) and the engine-level fix can be backported from there but additional changes in remote services will be needed as well.

      Attachments

        Issue Links

          Activity

            People

              swiderski.maciej Maciej Swiderski (Inactive)
              tlivora Tomáš Livora (Inactive)
              Tibor Zimányi Tibor Zimányi
              Tibor Zimányi Tibor Zimányi
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: