Before integrating your Pega Platform application with UiPath Orchestrator, configure the required webhooks and events in your Orchestrator instance. These webhooks enable Orchestrator to communicate with Pega Platform when an event is updated.
Create one webhook that subscribes to job events, and one webhook that subscribes to process events. Ensure that you configure the same secret for both webhooks. You enter the secret that you use to validate the webhook call in the record that you create in your application. For more information, see the UiPath documentation and Configuring Pega Platform to receive webhook calls.Subscribe a webhook to the following job events, and specify
https://<host>:<port>/prweb/api/OpenRoboticsUiPath/v1/jobas the Pega Platform service. The value of the service URL is specified in the
OpenRoboticsUiPath/v1/jobservice instance in the OpenRoboticsUiPath service package.
https://<host>:<port>/prweb/api/OpenRoboticsUiPath/v1/processas the Pega Platform service. The value of the service URL is specified in the
OpenRoboticsUiPath/v1/processservice instance in the OpenRoboticsUiPath service package.
When you create a process in Orchestrator, it is modeled in Pega Platform. The webhook notifies your application when a process-related event occurs in Orchestrator. For existing processes that you created before configuring these webhooks, update the processes in Orchestrator after completing your integration with Pega Platform.
Note: To establish the connectivity between Pega Platform and UiPath Orchestrator, make sure that bidirectional network connectivity exists between the server on which you are configuring the Pega Open Robotics application and the server on which you are configuring UiPath Orchestrator webhooks.
To validate the webhook call from Orchestrator in Pega Platform, ensure that you have the following information from your webhook:
- Tenant ID
For more information, see Configuring Pega Platform to receive webhook calls.