Close popover
Michael Tan (tanm1)
Sr. System Architect
Pegasystems Inc.
tanm1 Member since 2016 39 posts
Posted: March 21, 2017
Last activity: August 26, 2020

Robotics Automation Studio 8: reading in parallel from a share drive

Our customer plans on running instances of the Robotics runtime on multiple client machines, with each machine polling a share drive to see if new work has come in. The files arrive in CSV format, which the automation will copy to it's own local drive, open and read the file, and input the contents into a locally installed application. The trick comes in co-ordinating the share drive access.

We configured the automation to monitor the share drive and want the first one to detect OnCreate to move the file to its own local. However, multiple clients detect OnCreate simultaneously, with all but one failing the Move because the file is no longer there (or in use). What is the standard best practice for handling this situation?

Of course we can create a round-robin shell script to dole the CSV files out to the clients, but because the files take different times to process we would rather a mechanism whereby machines which are idle go to the share and pick up work.

**Moderation Team has archived post**

This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.

Robotic Process Automation
Moderation Team has archived post