Skip to main content
LinkedIn
Copied!

Table of Contents

Configuring Pega Robot Runtime to send robot activity logs to Pega Robot Manager

Version:

Only available versions of this content are shown in the dropdown

Modify the RuntimeConfig.xml file so that Pega Robot Runtime can forward robot activity logs to Pega Robot Manager in case of an issue while processing a robotic assignment.

By inspecting robot activity logs, you can understand why an activity did not complete, why it completed with errors, why the process is taking longer than expected even though it succeeded, and so on.

  1. Log in to Pega Robot Manager.

  2. From the Pega Robot Manager menu bar, select Settings.

  3. In the Runtime configs tab, click the name of the Runtime configuration file that you want to modify.

  4. In the top-right corner or the Settings tab, click Edit.

  5. Enable sending robot activity logs:

    1. Change the value of the PublishToRobotManager enabled parameter to true.

    2. Change the value of the RobotActivityLog enabled parameter to true.

    3. Optional:

      To modify the logging level, change the default value of the eventsToLog parameter.

      You can specify the following logging levels:
      • 0 – Never send a log
      • 1 – Send a log when an activity did not complete
      • 2 – Send a log when an activity did not complete or completed with errors
      • 3 – Always send a log
  6. Optional:

    To track the health and usage of Pega Robot Runtime through Operational Reporting, configure the following parameters:

    1. Accumulate data for the Automation and Activity Usage report by setting the UsageStatistics.Enabled parameter to true.

    2. Enter the number of minutes between usage events by modifying the UsageStatistics.publishInterval parameter.

      The default value is 60.
    3. Gather information about how users use Pega Robot Runtime and the various automations by setting the HealthStatistics.Enabled parameter to true.

      This information appears on the Health Report that is available in Pega Robot Manager if you enabled here and in the EventConsumers section

    The Health report includes the following information:

    • Last time Runtime/Agile Desktop users logged in.
    • Last version of Runtime that was used.
    • Last version of the package that was used.
    • Information about any fatal exceptions that were encountered.

    See the following code snippet for reference:

    <PublishToRobotManager enabled="true" ssoUserIdRule="FullUPN"> <HealthStatistics enabled="true" /> <UsageStatistics enabled="true" publishInterval="60" /> <RobotActivityLog enabled = "true" eventsToLog = "1"/> </PublishToRobotManager>

  7. Confirm your settings by clicking Save.

  8. In the Save changes window, in the Comment box, describe the update and click Submit.

  • Downloading robot activity logs

    Identify the causes of automation failures by checking robot activity logs. At the time of a failure, Pega Robot Runtime creates a robot activity log that you can download from Pega Robot Manager in a .zip file.

Did you find this content helpful?

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 Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us