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.
- If you are using Pega Robotic Automation version 8.0 SP1 2018 or earlier, see Configuring Robotic Automation Runtime in RPA implementations.
- If you are using Pega Robotic Automation version 8.0 SP1 2019 or later, to configure Robotic Automation Runtime, complete the following instructions.
To configure Runtime to work with Robot Manager 6, complete the following steps:
- From the %ProgramFiles%\OpenSpan folder, copy the RpaSchedule.json file into the C:\programdata\OpenSpan folder.
- From the %ProgramFiles%\OpenSpan folder, copy the RuntimeConfig.xml file into the C:\programdata\OpenSpan folder.
- 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.
- 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:
<Match type="PushButton" name="OK">
<Action type="execute" />
- Open the CommonConfig.xml file and change the ConfigurationLocation key. For example:
- Make sure there is an RPAServiceOperator value in the RobotManager key the CommonConfig.xml file. For example:
- Save and then close the CommonConfig.xml file.
- 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.
- Save and then close the RuntimeConfig.xml file.
- From the install folder, copy the RPAService.config file into the %ProgramData%\OpenSpan folder.
- 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.
- Save and then close the RPAService.config file.
- 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.
- Add RegistrationOperator credentials by using the Credentials Manager.
- Start the Pega RPA Service.
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.
100% found this useful