Question

3
Replies
19
Views
Close popover
Zach Taylor (ZachT124)
Transplace
Data Scientist
Transplace
US
ZachT124 Member since 2021 16 posts
Transplace
Posted: March 22, 2021
Last activity: March 23, 2021
Solved

Executing Automation's in order

I am having a hard time trying to figure out how to start automations in order when called to start. Currently I can only get the autoamtion to start if the property StartOnOrojectStart is set to True. I have multiple automation files in a single project. What I am wanting to do when the project runs is to have a specific automation file start initially and based on certain conditions call another automation file. I have an automation file called "ExcelLoop.os" this file loops through an excel file and stores values as global variables so that they can be passed to another automation file that then usus the global vairables to fill in form data on a webpage and download a report. Currently I can only get the "ExcelLoop.os" file to start on a button click (Which I would prefer to not have start on click..) and then at the bottom of this file I want to call "AutomationRPT00754.os". 

Currently I have the web adapter and "AutomationRPT00754.os" set to StartOnProjectStart = True and they all start at the same time and the variables from the excel loop end up not getting to the "AutomationRPT00754.os" file in time.

What is the proper way to start an automation file when calling for another automation file to execute?

I have tried setting the web adapter and "AutomationRPT00754.os" to false but I am getting the followin errors. 

 

Pega Robotic Process Automation 19.1 Robotic Process Automation Financial Services Data Scientist