A Domain created for a Project or Project Version is referred to as a template. When you create a Scenario, it creates a copy of the Domain called a Scenario Domain.
Scenario Domains can be customized to generate the exact type of data you want for that Scenario. Changes made at the Template level cascade down to the corresponding Scenario Domains unless locked.
You can lock a Scenario or lock a Scenario Domain to ensure it is not impacted by changes made at the Template level.
Scenario Domains can be viewed from the Scenario Dashboard, as shown below:
Scenario Domains and Attributes can be managed separately and locked to prevent Template Domain changes from impacting the Scenario's Domains and Attributes.
This example has one Template Domain with 3 Attributes:
For this example, there are 4 Scenario Domains that have been created from the Template Domain. The Scenario Domains have the same Attributes as the Template Domain.
The following changes have occurred for each of the 4 Scenario Domains:
- Scenario Domain 1 - No changes have been made.
- Scenario Domain 2 - A zipCode Attribute has been added.
- Scenario Domain 3 - The email Attribute has been altered and locked.
- Scenario Domain 4 - This Scenario Domain has been locked.
Let's say, for example, that an address Attribute is added to the Template Domain. Locked Attributes and Scenario Domains are not altered when the Template Domain is modified. Locked Scenario Domains will not have the added address Attribute.
- Scenario Domain 1, 2, & 3 - The address Attribute will be added and all other changes will remain intact.
- Scenario Domain 4 - The address Attribute will not be added because the Scenario Domain is locked.