Hi,
We’re developing a group of small robot task automations belongs to same business unit. We decided to integrate all the APIs on pega platform instead of calling them directly from robot studio. This is first time we’re using this approach and we need help from you to build it in best possible way. Below are some of questions which I’m currently working on.
- APIs are configured on Pega platform, ex: in Data pages. Now robot studio need to call that data page from automation. How to do that? are there any other ways to configure APIs on pega platform if not data pages, like: activity, bi-directional communication through case, etc. which are easy to call from robot studio.
- Explain how to capture/read the API responses from Pega platform to robot studio after calling the data page or activity or any other alternate? and make further validations on robot studio with the response and send it as the input to next API call from robot studio to Pega platform.
- How second API on the platform could pick up input from robot studio?
Please also let us know if there are any better approaches otherthan what we’re currently working on. Looking forward to hear from you. Thanks!
BR/Rajesh
Thank you @ThomasSasnett
Thanks for your suggestions on Robot Studio and API integration.
Here’s a quick overview of our setup, current issues, and open questions:
Implementation Plan (Need Validation)
Is this the best practice for such automation?
Setup Info
- Installed: Pega Robot Studio vR25
Deployment Issues#### 1. Resolved:
2. Ongoing:
vR25 Changes – Need Clarification
-
Has the deployment process changed in vR25?
-
Any updates in Robot Runtime installation or RuntimeConfig.xml?
-
What replaces the Package Server base URL in RuntimeConfig.xml, since the PS concept is now removed?
@RajeshS17304030
Implementation Plan - Is this for attended or unattended bots?
As for installing the synch engine with Studio, you should not do that. If you want to use the Synch engine, install Runtime. Since the installations are relatively quick, if you have only one machine to use for testing, then I would uninstall and re-install between testing. Actual testing though should be done using a setup that mirrors production (so they’d not have Studio installed).
R25 -
- No
- I do not believe there are any material differences in installation. There are perhaps minor differences, but to my knowledge no. You should use the R25 PegaRuntimeConfig.xml, but they are functionally the same and the v22 would work.
- PackageServer is no longer supported. If you are connected to Pega Robot Manager, packages will be retrieved from the repository you have configured within Pega Robot Manager. There is no longer a setting to specify a PackageServer URL since it is not supported.
@RajeshS17304030
Machine 1 seems OK. I am not sure what is happening without looking at the machine. This might be more appropriate for a support request as they can look at your environment with you.
As for machine 2, it must be configured differently than Machine 1. I would make sure you have copied all of the configuration files from Machine 1 to it. Since it shows off, I wonder if your RPA Service isn’t running.
@RajeshS17304030 One thing I would start with is to check the RPAService log (%ProgramData%\Pegasystems\RPAService\RPAService.Log) and see if there is anything indicating a failure to communicate. If that is working, I would then check your RuntimeLog. There might be an indication in there about it failing to register or communicate. You’ll want to make sure all log categories are set to DEBUG for both logs to get the most information. If you do need to adjust either the PegaRuntimeConfig.xml or the RPAService.config (to set all the log categories to level 4), be sure to restart the RPAService and/or Runtime.
Thank you @ThomasSasnett
Progress Update:
We identified that Robot Manager was initially configured at the Enterprise-level application instead of the specific application level, which prevented it from picking up queued work. This misconfiguration has now been corrected, and the robot is successfully picking up work from the correct application context.
Issue & Follow-up:
However, after picking up the work, all test cases failed, which triggered the defined failure threshold and caused the robot machine to go offline. Despite multiple recovery attempts—including restarting the machine and manually launching Robot Runtime—the machine has not come back online.
I’m attaching the relevant logs for your review.
Could you please review and share your insights on:
-
What might be causing the machine to remain offline even after manual intervention?
-
Any additional configurations we should verify?
-
Should we consider redeploying the runtime or re-registering the machine?
Looking forward to your expert suggestions.
Machine-1_PegaRobotRuntime.txt (291 KB)
Machine-1_PegaPackageDownloader.txt (29.5 KB)
@RajeshS17304030I believe deleting the operator records and restarting the bot would allow it to get work, but with consecutive errors, it might just need to wait for the elapsed time before it can resume work. This is one where having access to your environment would help. Is it still offline today? If so, I would try deleting the operator records and then rebooting the bot machine. This will cause it to re-register. If that fails to get work, I would check the RPA Service logs and see if there are any indicators there. If not, I suggest a support request for this issue as we can probably resolve it once we see the entirety of your configuration.
Thank you @ThomasSasnett
We were able to bring it online with the exactly same steps as suggested. Some of your previous answered community threads also helped us to solve. Thank you so much!
I believe we can close this ticket for now. But in the coming weeks we have key implementations infront of us which we never done before, so I’m sure I would come back with some more questions atleast.
Thank you once again, have a nice evening and weekend!
BR\Rajesh
@RajeshS17304030 Thank you for the kind words. I am here to help.