What are Scenario Level Locks?
Any Domain created for a Project or Project Version is called a Template Domain. When a Scenario is created, it creates a copy of the Template Domain called a Scenario Domain.
Users can customize Scenario Domains to generate the exact type of data they want for that Scenario. Changes made at the Template level cascade down to the corresponding Scenario Domains.
G-Refactor is the GenRocket tool that performs automatic refactoring for all Domains, Attributes, and impacted Scenarios when changes are made at the Template level.
What Triggers GenRocket’s Automatic Refactoring?
Any time a change is made to the Template Domain or the Domain Relationships, the change cascades down to all Scenarios where the Domain is used. These changes include the following:
- Adding or Removing a Parent/Child Relationship
- Adding or Removing a Sibling Relationship
- Removing an Attribute from the Template Domain
- Adding an Attribute to the Template Domain
- Modifying a Generator (Adding, Remove, Replacing, etc.)
Three Levels of Locks in Scenarios
Locks are provided at each level within the GenRocket platform to prevent changes occurring at the Template level from cascading down to other levels such as the Scenario level.
A user may apply locks at these three levels for Scenarios:
- Scenario
- Scenario Domain
- Scenario Domain Attribute
How to lock Scenarios
Scenario Level Locks allow a user to lock a Scenario at its current state. A Scenario Lock will prevent changes at the Template level from cascading down to the Scenario.
An unlocked Scenario will have a Lock button at the top of the Scenario Dashboard:
A locked Scenario will have an Unlock button at the top of the Scenario Dashboard:
How to Lock Scenario Domains
A user can lock Scenario Domains by clicking on the Lock icon within the Scenario Domains Pane of the Scenario Dashboard. This icon will appear unlocked when the Scenario Domain is not locked.
It will appear locked when the Scenario Domain is locked:
How to Lock Scenario Domain Attributes
A user can lock Scenario Domain Attributes within a Scenario Domain by clicking on the Lock icon within the Scenario Dashboard. This icon will appear unlocked when the Scenario Domain Attribute is not locked and locked when it is locked.
Links:
What is G-Refactor?
https://genrocket.freshdesk.com/support/solutions/articles/19000124796
How to lock and unlock Scenarios
https://genrocket.freshdesk.com/support/solutions/articles/19000105676
Search GenRocket Knowledge Base
Related Assets
How does GenRocket handle Domain and Domain Relationship Changes for Scenarios?
A Domain within a Project is a template that contains specified Attributes, Generators, and Parent/Child/Sibling Relationships.
Read More