Table of Contents

Article

Configuring Robotic Automation Runtime to work with Robot Manager 6 in RPA implementations

To run Pega Robotic Automation Runtime in Robotic Process Automation (RPA) implementations as a user who differs from the currently logged in Windows user, you must relocate and modify the configuration files. Although the default location for configuration and logging files is the user-specific %AppData%\OpenSpan folder, instead use the %ProgramData%\OpenSpan folder, which is accessible to all Windows users.

Before you begin

Perform the steps in Enabling the Pega RPA Service to simulate a Secure Attention Sequence.

To configure Runtime to work with Robot Manager 6, complete the following steps:

  1. From the %ProgramFiles%\OpenSpan folder, copy the RpaSchedule.json file into the C:\programdata\OpenSpan folder.
  2. From the %ProgramFiles%\OpenSpan folder, copy the RuntimeConfig.xml file into the C:\programdata\OpenSpan folder.
  3. Copy the SchedulerDefinitions.xml file to the appropriate folder:
    • If this computer is part of a domain, from the %ProgramFiles%\OpenSpan folder, copy the SchedulerDefinitions.xml file into the C:\programdata\OpenSpan folder.
    • If this computer is part of a workgroup, from the %ProgramFiles%\OpenSpan folder, copy the SchedulerDefinitions-local.xml file into the C:\programdata\OpenSpan folder and rename it to SchedulerDefinitions.xml.
  4. Open the SchedulerDefinitions.xml file and make sure that the LogonDisclaimer key is set to False. The enabled key is configured in the appropriate operating system section in the SchedulerDefinitions.xml file. For example:
<MatchSet name="Disclaimer" mode="SignIn" matchSuccess="Continue" matchFailure="Stop" enabled="true">
    <Match type="PushButton" name="OK">
        <Action type="execute" />
    </Match>
 </MatchSet>
  1. Open the CommonConfig.xml file and change the ConfigurationLocation key. For example:
<ConfigurationLocation>CommonApplicationData</ConfigurationLocation>
  1. Make sure there is an RPAServiceOperator value in the RobotManager key the CommonConfig.xml file. For example:
<Server name="RobotManager" enabled="true" baseURL=https://MyPegaServer.com/prweb RPA="true" workgroup="Savings accounts" robotName="{MachineName}" authenticationType="Basic" RPAServiceOperator="{MachineName}_RPA" />
  1. Save and then close the CommonConfig.xml file.
  2. Open the RuntimeConfig.xml file, and then make the following changes:
    • In the fileName key for Log4Net files, specify the appropriate file names.
    • In the packageServer key, set the baseUrl to the location of the Package Server.
    • In the Shutdown section, set the Behavior value key to WaitForAutomations. For more information, see Runtime configuration settings.
  3. Save and then close the RuntimeConfig.xml file.
  4. From the install folder, copy the RPAService.config file into the %ProgramData%\OpenSpan folder.
  5. Open the RPAService.config file that is located in %ProgramData%\OpenSpan folder. Make the following changes:
    • In the enabled key for Pega RPA Service, enter true.
    • In the Mode key, if you use schedules provided by Pega Robot Manager 6, choose OnDemand. If you use schedules that are defined locally in the RpaSchedule.json file, choose Scheduled.
    • In the authorizedGroup key, specify who is granted access. The default is Everyone, which does not restrict access.
  6. Save and then close the RPAService.config file.
  7. Add WindowsUser credentials by using the Credentials Manager (credmgr.exe or credmgrui.exe). For more information about the Credentials Manager, see Pega Robotic Automation Credentials Manager utility.
  8. Add RegistrationOperator credentials by using the Credentials Manager.
  9. Start the Pega RPA Service.
The install folder contains the default version of the RPAService.config file. You must manually move this file to the %ProgramData%\OpenSpan folder.

For more information on the configuration files discussed in this topic, see Main Robotic Automation Configuration Files.

For information on how to use the Pega RPA Service to schedule when Robotic Automation Runtime can run RPA robots, see Scheduling when a Robotic Process Automation robot runs.

Tags:

Published December 9, 2017 — Updated June 5, 2019


100% found this useful

Have a question? Get answers now.

Visit the Pega Support Community to ask questions, engage in discussions, and help others.