Publish Real Time Tasks Pega Process Fabric Hub endpoint
After publishing existing assignments data, the remote application can immediately publish any changes to the assignments. When you invoke the appropriate REST APIs, you ensure that the Pega Process Fabric Hub and your remote application are always in sync. As a result, the Pega Process Fabric Hub reflects accurate data about assignments from your application.
You publish new assignments to the Pega Process Fabric Hub by invoking the following endpoint:
POST /tasks
You update assignments in the Pega Process Fabric Hub by invoking the following endpoint:
PUT /tasks/{task_ID}
When you invoke endpoints to publish real time assignments, ensure that you set the
query parameter string preactivationData to
false.
The following table shows a sample request body for Publish Real Time Tasks endpoints:
Element | Value |
Request URL | For a new
assignment:
|
Request headers | Authorization: Bearer access
token |
Request body |
|
Response status | 202 |
Response body | Not applicable |
For more information, see the the Swagger documentation.
URL redirects
For assignments REST APIs, include an assignment redirect URL in the request payload. The redirect URL and the registration system URL form the absolute assignment redirect URL. When an end user clicks an assignment link in the Pega Process Fabric Hub, the browser opens the absolute redirect URL in a new tab.
The following table shows a sample request payload:
Element | Value |
Assignment URL | https://ap15.uplustelco.com/0065g000002fJBpAAM |
systemURL property in the Create Registration REST API | https://ap15.uplustelco.com |
actions.href property in the Publish Tasks in Batch REST API | \/0065g000002fJBpAAM |
Sample request payload |
|
Previous topic Publish Tasks in Batch Pega Process Fabric Hub endpoint Next topic Publish Work Queues in Batch Pega Process Fabric Hub endpoint