Question
Pegasystems Inc.
JP
Last activity: 16 Oct 2018 12:03 EDT
Pega Robotics 8.x How to apply configuration profiles for each project in a multi-projects solution
We have a robotics automation solution which consists of multiple projects and each project dedicated to automate a specific web application.
For each project we wanted to apply configuration profiles defining environment (i.e. testing vs production) specific settings.
However, we found that configuration profiles are applicable only for "starting project", and non-starting projects do not honor configuration profiles.
Is this a known limitation ?
**Moderation Team has archived post**
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Pegasystems Inc.
US
This is a great question. Here is the short explanation.
Project configurations will work across multi-project solutions, however the project configuration must reside in the root of the project (i.e. not inside a folder). Furthermore, the project configurations must be named identically across all projects. In the attached screenshot I am showing the project configurations DEV, PROD, and UAT all residing in the root of each project. I have highlighted the configurations folder so you know that is where not to place them.
-
Thirupathaiah Suribovina
Pegasystems Inc.
JP
Actually, I have tried the approach as you described.
However, the configuration for web application adapter's "StartPage" property worked only for starting project per my experience.
Chunzhi
CJSC i-teco
RU
Hey. I'm trying to repeat your recommendation, but, I have the wrong result.
if I set the conf configuration (conf.png), this works fine.
if I set the "test" configuration (test.png) I have an empty result
I attached my project.
-
Adam Tyetyak Oleg Ignatyev SHANTHI A Karthik Chintoju José Luis Laviña and 1 More
Anthem
US
Solution can have Dev, SIT, UAT specific configuration files (like Dev.os, SIT.os). This files will have environment specific URLs of each projects or each application. This value can be referenced in Global Container in String variable (like str_WebURL). String variable can be referred across all projects.
Soprasteria
CH
I am new to robotics automation, it would be good if you refer the configuration files in a screenshot.
Bank Of America
US
Hi,
I have added configuration file in root project. But I am not able to add items to it. Can someone help me the steps to add item like below:
Component = Environment
Value = DEV
Thanks,
Anil
Pegasystems Inc.
US
You need to right click the property that you want to configure and select "Configure". The link below should go over it in more detail.
http://help.openspan.com/80/Project_Configuration_and_Deployment/Add_Configuration_Item2.htm
Pegasystems Inc.
GB
I have followed sasnt approach in v8.0.1053 and v8.0.1059 and I did manage to notice the Global variable being set based on the value in the Configuration item. However after a couple of runs this is now failing. I will be investigating this issue as "SubProject" configurations are very important in giving the selective ability to switch between environments.
Pegasystems Inc.
US
Try deleting the projects listed under C:\Users\username\AppData\Local\OpenSpan\8.0\Projects.
Pegasystems Inc.
GB
Furthermore investigation has been carried out on this. When deploying the solution this seems to work fine, but not when debugging in Studio. So the issue seems to be isolated when using Studio and not Runtime (when Loading Local Project).