Chapter 13. Canceling or destroying a case
Cases can be canceled if they are no longer required and do not require any case work to be performed. Cases that are canceled can be reopened later with the same case instance ID and case file data. In some cases, you might want to permanently destroy a case so that it cannot be reopened.
Cases can only be canceled or destroyed using an API request. Red Hat Process Automation Manager includes the Swagger client, which includes endpoints and documentation for REST API requests. Alternatively, you can use the same endpoints to make API calls using your preferred client or Curl.
- A case instance has been started using Showcase.
You are able to authenticate API requests as a user with the
Open the Swagger REST API client in a web browser:
Under Case Instances :: Case Management, open the
DELETErequest with the following endpoint:
You can cancel a case using the
DELETErequest. Optionally, you can also destroy the case using the
Click Try it out and fill in the required parameters:
Table 13.1. Parameters
(Optional. Permanently destroys the case. This parameter is
- Click Execute to cancel (or destroy) the case.
- To confirm the case is canceled, open the Showcase application and change the case list status to Canceled. If the case has been destroyed, it will no longer appear in any case list.