Skip to main content

Environment overrides

Software development commonly uses different environments for different stages of the development cycle. With environments, you can provide different configuration values in the different stages to connect with the resources that your application uses. For example, you develop an application that interacts with a database and set up different databases during development and testing to avoid tampering with the production database essential to your company's business needs.

In Pega Robot Studio, you can define the environments that your business needs require and provide overrides for values that differ from those environments, such as development, QA, or production. Values are set at runtime based on the environment you choose to define.

You also use environments where the scope of the project changes throughout an enterprise, such as geographical infrastructure or language defaults for global implementations.

Adding environment overrides and environments

Add an environment override by right-clicking the property name in the property grid of the project item. If you have not added any environments yet, add a new environment from the Edit environments dialog box. In the Edit environments dialog box, you add, edit, or delete remote environments. The following figure shows a user adding a new environment.

Animated image showing a user adding a new environment in Pega Robot Studio

After you have environments, choose the value for each environment. For example, you develop a robotic project to automate an internal website. You set the StartPage value for the website to act as a sandbox version of the site during the development stage, and then to act as the real version of the site on production.

Environment overrides designer

After you create at least one environment, Robot Studio creates the Environment overrides project item, and then adds it to the Project Explorer. The Environment overrides item is pinned to the top of the Project Explorer with the Globals project item.

Screenshot showing the Environment overrides project item at the top of the Project Explorer.

You can then click Environment overrides to access the Environment overrides designer. In the Environment overrides designer, you manage and edit environments and their properties. You an also view, edit, and remove individual property environment values.

In the following image, click the + icons to learn more about the Environment overrides designer.

Check your knowledge with the following interaction:


This Topic is available in the following Module:

If you are having problems with your training, please review the Pega Academy Support FAQs.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Academy has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice