Publish Operators in Batch Pega Process Fabric Hub endpoint
Publish Operators in Batch REST API helps you provide mappings of work queues and operators in the Pega Process Fabric Hub. As a result, users can access appropriate work queues to process assignments and process cases faster in your organization.
You publish operators mapping to the Pega Process Fabric Hub by invoking the following endpoint:
POST /operators/batch
Each batch request can contain up to 50 request items. When you publish the existing data, ensure that you set the query string parameter preactivationData to true.
The following table includes a sample request body for the Publish Operators in Batch REST API endpoint:
Element | Value |
Request URL | https://vlenghydcnt17263-processfabrichub.lab.pega.com/prweb/api/ppf/v1/operators/batch?preactivationData=true |
Request headers | Authorization: Bearer access
token |
Request body |
|
Response status | 202 |
Response body | Not applicable |
For more information about the endpoint protocol, see the the Swagger documentation.
After you publish all the operator mappings to the Pega Process Fabric Hub, invoke the Publish Operators in Batch REST API with the preactivationDataLast and preactivationData query string parameters set to true with no request body. Invoking this request informs the Pega Process Fabric Hub that the operator mappings synchronization is complete.
The following table lists information about the endpoint that you invoke to inform the Pega Process Fabric Hub that the application published operator mappings data:
Element | Value |
Request URL | https://vlenghydcnt17263-processfabrichub.lab.pega.com/prweb/api/ppf/v1/operators/batch?preactivationData=true&preactivationDataLast=true |
Request headers | Authorization: Bearer access
token |
Request body | Not applicable |
Response status | 202 |
Response body | Not applicable |
For more information about how the Pega Process Fabric Hub displays a work queue common to multiple applications, see Assignments management in the Interwoven Worklist and Pega Process Fabric Hub FAQ.
After you publish assignment, work queues, and operators data to the Pega Process Fabric Hub, the application in the Pega Process Fabric Hub moves from the Sync-InProgess to Active state.
Resynchronizing operators mappings
To ensure that the Pega Process Fabric Hub displays accurate information about operators and work queue mappings in your remote application, you can resynchronize data after you modify it in your application, such as after you assign new users to a work queue or remove a user from a work queue. To resynchronize operators mappings, you first delete operators data in the Pega Process Fabric Hub by invoking the following endpoint:
DELETE /operators
You then republish operators mappings data by invoking the Publish Operators in the
Batch API endpoint.
Previous topic Publish Work Queues in Batch Pega Process Fabric Hub endpoint Next topic Deployment models for connectors