Robot Activities in Pega Robot Studio
Pega Platform™ cases require a Robot Activity component to invoke an automation. The Robot Activity component is the connection point between Pega Platform and the automation. You can use the component to invoke the following:
- Attended automations – Automations invoked from a Pega Platform application, run in a local browser, and use the Pega Constellation Messaging service to communicate between a Pega Platform application and Pega Robot Runtime™.
- Unattended automations – Automations invoked from Pega Robot Manager™ that communicate across a network with the local Pega Robot Runtime clients.
To access this component, you drag and drop the toolbox component to the automation designer window.
Each automation that is called by a case must contain a Robot Activity component.
In the following image, click the + icons to learn more about each section of the Robot Activity component.
- When clicking the ellipses on the Fields property, Pega Robot Studio prompts the user for the following Pega Platform connection settings default to the value provided during installation and stored the StudioConfig.xml:
- The URL location of the Pega Platform application.
- The user name and password with proper access to the ClassName that retrieves the relevant records.
Any updates to the connection settings persist for future use.
Component usage
The Robot Activity component contains the ActivityStarted event. The ActivityStarted event begins when a Pega Platform application flow invokes an automation with the corresponding ActivityName. You can access an activity’s properties only when the activity is active — from the start of the ActivityStarted event until its completion. The following image shows the automation identifier in the Pega Platform post-processing action and the corresponding automation that contains the ActivityStarted event.
Check your knowledge with the following interaction.
This Topic is available in the following Modules:
Want to help us improve this content?