Organization Variables Overview
In the GenRocket web platform, three types of Variables may be created and referenced:
Organization Variables – Organization Variables are variables that are global to all Projects within your GenRocket organization. These variables can be referenced by any Generator within an Attribute of a Domain in any Project Version of a Project. Organization Variables can also be referenced within the Self Service module.
Domain Variables – Domain Variables are instance variables of a Domain. These variables can be referenced by any Generator within an Attribute of a Domain in the same Project Version of a given Project. This makes Domain’s variables global to other Domains. Domain Variables can also be referenced within the Self Service module.
Scenario Variables – Scenario Variables only apply to that Scenario and cannot be referenced outside of the Scenario.
Variable Referencing at the Organization Level
Organization Variables provide a way to reference a variable at the Organization Level. Organization Variables make it possible for a value to be referenced by multiple Projects without the need to perform the same steps to configure the variable for each Project. You can set up a collection of Organization Variables, called a suite, with their own defined values and then reference them as needed.
When Should Organization Variables be Used?
- Any time a constant value needs to be referenced in multiple Projects within your Organization.
How do Organization Variables Work?
An Organization Variable must belong to an Organization Variable Suite. A Suite can have one or many individual Organization Variables, each with a unique name and value.
- Create an Organization Variable Suite within the GenRocket web platform.
- Create one or more Organization Variables within the suite.
- Reference Organization Variables where needed within a Project Version of a given Project.