Skip to main content

Public automations

Suggest edit Updated on October 13, 2021

Public automations created in Pega Robot Studio can be easily invoked from within Pega Platform 8.2 (or later) applications. Use Dev Studio to create the Pega Platform application that invokes the automation, and then map the input and output parameters to Pega class fields. With public automations, you do not need to know class names when you develop automations using Pega Robot Studio.

Requirements

  • Pega Robotic Automation 8.0 SP1 2029 or later
  • Pega Platform 8.2 or later
  • Pega Robot Manager 8.2 or later
  • A compatible repository, such as Jfrog, S3, or Artifactory, for storing the published automation packages.

Before you begin

To use public automations, you must enable the PegaDevServer server type in the CommonConfig.xml file for Pega Robot Studio. Enabling the PegaDevServer server type sends package metadata to the PegaDevServer server instead of the RobotManager server. The CommonConfig.xml file is located in the C:\ProgramData\OpenSpan folder.

Note: When you update Robot Studio, the installer does not overwrite the CommonConfig.xml file. If you are updating from 8.0 SP1 2018 or earlier to version 8.0 SP1 2029 or later, before you update, you must manually add this server type or delete the C:\ProgramData\OpenSpan folder. For more information, see Common Configuration Settings. The following line is an example:
<Server name="PegaDevServer" baseURL="https://DevPegaInstance.com/prweb" enabled=true" proxyAddress="" />.

Automation creation

Use public automations to pass and return inputs and outputs. Creating a public automation generally follows the same process as any other automation, with a few exceptions. For more information, see the following illustration, which details the process of creating the automation and publishing it to the Pega Platform:

Creating public automations

Best Practices

When creating public automations in Robot Studio, keep in mind the following best practices:

  • The name that you assign to public automations cannot include spaces.
  • Public automations can only have one entry point and one exit point.
  • You cannot move public automations outside of their folder.
  • You can invoke public automations by using Robotic Desktop Automation (RDA) mechanisms from the Pega Platform.
  • If, in a project, a RobotActivity and a public automation have the same name, the public automation takes priority when invoked through RDA.
Did you find this content helpful? YesNo

66% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Ready to crush complexity?

Experience the benefits of Pega Community when you log in.

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us