Question
Nationwide Building Society
GB
Last activity: 8 May 2018 14:25 EDT
Call another Automation when current automation completes (Pega Robotics)
Hello,
I am new to Pega Robotics and have created two automations which I can select and run via a button on a windows form. I would now like to join the automations up by when the first automation completes call the next automation to run.
Can anyone help me / Guide me how to do this?
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
ANZ
IN
Hi,
If I understood correctly, if you want an execute method then you have to add entey point for automation files (.os)
to add entry point right click on the automation and select execute. This will add an entry point which then can be called form other automation.
molina
US
you can call the execute method of the second automation and trigger it. see the steps below
1. In the Object explorer select the second automation.
2. find the execute mothod and drag and drop it to your first automation and connect it.
You can also have an all new automation that can call automation 1 and 2.
Nationwide Building Society
GB
Thanks for the reply. I cannot find the execute method.
The steps I am taking is;
1. Select the automation in the object explorer so the automation is highlighted.
2 searching the methods for execute. (However I cannot find this method)
Capgemini
GB
Hi, I faced the same problem earlier. please check the bottom of the Object Explorer. some times it might be hidden. Please expand the bottom of Object Explorer.
molina
US
does your second automation has an entry point? if it is triggered by an event you will not find the execute method.
I have attached a screen print for reference
Nationwide Building Society
GB
Thanks for your help.
Although I still cant seem to find the execute method. I have attached the options I can see. Also the entry and exit point of the two automations I wish to connect to see if this is causing the issue.
Accepted Solution
ANZ
IN
Hi,
If I understood correctly, if you want an execute method then you have to add entey point for automation files (.os)
to add entry point right click on the automation and select execute. This will add an entry point which then can be called form other automation.
Accenture
CA
hi,
right click on the working area of the automation file, you will get the option to add Entry point, which will generate the execute method for that automation file
Nationwide Building Society
GB
Thanks all - I found the execute my right clicking in the automation and adding an entry point.
Which then enabled the execute method to be found in the Automations.
Thanks everyone.