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

Aborted staged remains active in the process engine

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.74.0.Final
    • 7.68.0.Final
    • KieServer
    • None
    • False
    • None
    • False
    • NEW
    • NEW

      After aborting a stage in a case management workflow, the customer wants to retrieve all active stages [1] and the aborted one looks as an active in the response.
       

      [1]
      >> GET /server/containers/{containerId}/cases/instances/{caseId}/stages

      {
        "stages": [
          {
            "stage-name": "Stage1",
            "stage-id": "_15692AAE-2330-40D6-916E-39B0FB140BFD",
            "stage-status": "Active",
            "adhoc-fragments": [
             

      {           "name": "Task1",           "type": "HumanTaskNode"         }

            ],
            "active-nodes": []
          }
        ]
      }
       
      Customer used this endpoint [2] first, to abort a stage:
       

      [2]
      >> DELETE /server/admin/containers/{containerId}/processes/instances/{processInstanceId}/nodeinstances/{nodeInstanceId}

              xiabai@redhat.com Xiaofeng Bai
              xiabai@redhat.com Xiaofeng Bai
              Jan Stastny Jan Stastny
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: