Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-4252

Aborted staged remains active in the process engine

XMLWordPrintable

    • 2022 Week 29-31 (from Jul 18)

      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
              rhn-support-luzrodri Luz Rodriguez
              Gonzalo Muñoz Fernández Gonzalo Muñoz Fernández
              Gonzalo Muñoz Fernández Gonzalo Muñoz Fernández
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: