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

Completed case is still active in business central

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Console
    • Labels:
      None
    • Steps to Reproduce:
      Hide
      1. Create process
        1. start node -> exit node
      2. Create simple Case
        1. Create sub-process inside Stage and set ad-hoc autostart to true
        2. Set Called Element property to already created process
      3. Build and Deploy Case
      4. Start new Case instance via REST API
        1. Find Case definition id: GET services/rest/server/containers/ {containerId}/cases/definitions
          ## POST /server/containers/{containerId}

          /cases/

          {caseDefId}

          /instances

          • Note, that these headers must be used when calling POST:
            Accept: application/xml
            Content-Type: application/xml
      5. Open Diagram of Case Management instance
        1. Go to Manage -> Process Definitions in business-central
        2. Click on View Process Instances, click on existing instance
        3. See log/diagram
      Show
      Create process start node -> exit node Create simple Case Create sub-process inside Stage and set ad-hoc autostart to true Set Called Element property to already created process Build and Deploy Case Start new Case instance via REST API Find Case definition id: GET services/rest/server/containers/ {containerId}/cases/definitions ## POST /server/containers/{containerId} /cases/ {caseDefId} /instances Note, that these headers must be used when calling POST: Accept: application/xml Content-Type: application/xml Open Diagram of Case Management instance Go to Manage -> Process Definitions in business-central Click on View Process Instances, click on existing instance See log/diagram
    • Docs QE Status:
      NEW
    • QE Status:
      NEW

      Description

      Completed case is still active in business central, it can be only Aborted to fully finish it.

      Actual Result:
      In Case log we can see that Case is COMPLETED, but in Process Instance view it is still shown as ACTIVE

      Expected Result:
      Case will be fully COMPLETED

      The same behaviour applies also for Ad-Hoc processes.

        Gliffy Diagrams

          Attachments

          1. screenshot-1.png
            screenshot-1.png
            35 kB
          2. screenshot-2.png
            screenshot-2.png
            46 kB
          3. screenshot-3.png
            screenshot-3.png
            89 kB
          4. screenshot-4.png
            screenshot-4.png
            49 kB

            Activity

              People

              • Assignee:
                cristiano.nicolai Cristiano Nicolai
                Reporter:
                lterifaj Lubomír Terifaj
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated: