Question

6
Replies
2498
Views
SatyaK09 Member since 2016 2 posts
Infosys
Posted: June 14, 2018
Last activity: February 6, 2019
Closed
Solved

Pega Automation Scheduling Service doesn't work as expected

Hi Team,

We have built a RPA BOT and need to deploy to an unattended server. BOT should run on daily basis at a specific time in the day. Server on which BOT needs to be deployed will be unattended (locked).

We've explored different options including Windows Task Scheduler, Windows Service and Pega Scheduler.

BOT has functionality to interact with different applications (Ex: Launch excel and perform tasks). A batch file is created to launch and Runtime and trigger BOT execution.

  • Issue with Task scheduler is that batch file runs and BOT works as expected when "Run only when user is logged in" option is selected. But fails to launch runtime when "Run whether user is logged on or not" option is selected (Pls refer snapshot1.png).
  • Issue with Widows service is that batch file is launched, openspan.runtime.exe can be seen in task manager, but fails to run BOT
  • We've also explored Robotic Processing Automation Scheduling service. Followed the steps as described in "https://community.pega.com/knowledgebase/articles/robotic-processing-automation-scheduling-service". But BOT doesn't run.
    • Installed OpenSpan.WinLogon.Service.exe, updated registry values
    • Copied RuntimeConfig.xml and RPASchedule.json to "C:\Program Files(86)\Openspan" path.
    • Updated startupProject value in RuntimeConfig.xml (snapshot2.png)
    • Updated RPASchedule.json to launch BOT once in a day at a specific time
    • Restarted OpenSpan services in services.msc

Kindly suggest a solution to run BOT (should interact with desktop) on unattended server.

Here are the environment details:

Pega : 8.0.1093

OS: Windows 7 64 bit

Robotic Process Automation SR Created
Moderation Team has archived post
Share this page LinkedIn