Optum Global Solutions
Last activity: 2 Nov 2021 8:22 EDT
Can we read the common or runtime config to get the Pega Server url in robotics.
I have created a robotics(RDA) application where we are consuming data through a service and creating instances in our Pega application with that,but the url of the service we are consuming is hardcoded in the solution.Therefore, we are constantly changing the url when need to switch environments in various stages of our development cycle.
I am aware that we can read an xml document in robotics,but is it possible to get the Pega Server URL from the Common or runtime config so that I can switch the service url dynamically based on the environment the pega server is pointed to in those config files.
I have added the screenshot of the common config and highlighted the element I am attempting to read.
PS: We do not want to add a separate config file just for this,so trying to read through the existing config files.
Any advice would be much appreciated.