When developing robotic process automations, the Pega Server URL property must be populated for cases. We are using the Development URL (e.g. https://pega-dev:8443/prweb/api/v1). When deploying packages to Test and Production, how do you override the URL which is specified in the Pega Server URL property with the baseURL specified in the Runtime CommonConfig.xml to point to correct environment?
You can add a project configuration to alter those values at Runtime. Right-click on the Project in Solution Explorer and select Add--?New Item. Under the General Node, select the Configuration item. Name it PROD (or whatever you like). Now, in ObjectExplorer, right-click on the PegaServerURL property and select Configure. You can now have this value applied when you run the PROD deployment package. You can add as many configurations as you like.
Posted: 4 years ago
Posted: 31 May 2018 16:35 EDT
Jonathan Barnette (JonathanB6787)
To add configuration items to a configuration, you right-click on the property in the Properties window. For example; if you wanted a variable to have the value of "Production" when using the "PROD" configuration, you would open your global container (or automation) with the variable and select it. In the Properties window, you would right-click the Value property and select Configure. You can then change the value for each configuration.