Disable Registration and Enable Registration Pega Process Fabric Hub endpoints
The Disable Registration REST API helps you hide assignments from your remote application in the Pega Process Fabric Hub without stopping data synchronization between the Pega Process Fabric Hub and your remote application. When you want to include the assignments from the application in the Pega Process Fabric Hub again, you call the Enable Registration REST API.
For example, you can disable an application when you must upgrade or maintain the remote application and you want users to refrain from picking work from the application. After you complete maintenance, you can enable the application.Disable Registration REST API
You disable an application by invoking the following endpoint:
POST /registrations/{ID}/actions/disable
After you call this API, your remote application continues to push data to the Pega Process Fabric Hub, but the Pega Process Fabric Hub does not display the assignments from the remote application in work queues, worklists, and reports. Also, the Pega Process Fabric Hub ignores these assignments in the Next Best Work algorithm.
Before you call the Disable Registration REST API, consider the following factors:
- You can use this REST API only for applications that have the Active status.
- The Disable Registration REST API returns an entire registration instance as a response.
- If an error occurs, the response includes an appropriate status code and error message.
The following table shows a sample response body for the Disable Registration endpoint:
Element | Value |
Request URL | https://vlenghydcnt17263-processfabrichub.lab.pega.com/prweb/api/ppf/v1/registrations/REG-22951/actions/disable |
Request headers | Authorization: Bearer access
token |
Request body | Not applicable |
Response status | 200 |
Response body |
|
For more information, see the Swagger documentation.
Enable Registration REST API
You enable a disabled application by invoking the following endpoint:
POST /registrations/{ID}/actions/enable
After you enable the application, the Pega Process Fabric Hub displays the assignments from this application across worklists, work queues, and reports. The Pega Process Fabric Hub also includes the assignments in the Next Best Work algorithm.
Before you call the Enable Registration REST API, consider the following factors:
- You can enable only applications that have the Disabled status.
- The Enable Registration REST API returns an entire registration instance as a response.
- If an error occurs, the response includes an appropriate status code and error message.
The following table shows a sample response body for the Enable Registration endpoint:
Element | Value |
Request URL | https://vlenghydcnt17263-processfabrichub.lab.pega.com/prweb/api/ppf/v1/registrations/REG-22951/actions/enable |
Request headers | Authorization: Bearer access token |
Request body | Not applicable |
Response status | 200 |
Response body |
|
For more information, see the Swagger documentation.
Previous topic Get Registration Pega Process Fabric Hub endpoint Next topic Deactivate Registration and Reactivate Registration Pega Process Fabric Hub endpoints