Global Variables
Last updated
Last updated
In Directual, there is a system structure that contains variables (for scenarios, they act as constants) accessible throughout the entire app. These global variables provide a centralized data store for your application.
Within this structure, you have the capability to create objects with two fields: ID and value.
The ID serves as a unique key for each global variable. You can invoke these global variables from scenarios, API-endpoint settings, or filters by using the syntax {{GlobalVar.ID}}.
It's important to note that global variables are not automatically included in a snapshot of your app. If you need to preserve and transport them, you must handle their export and import manually when necessary.