Core Substitution Context
Org UUID
Variable substitution for the Org UUID of a stub.
The Org UUID is the unique identifier assigned to each org within Stubber. Commonly referred to as the orguuid, it represents the specific org from which a stub is created or will be created.
Each org in Stubber acts as a container for templates, contacts, and teams, helping you manage workflows, users, and permissions independently across organizations. By using the orguuid as a substitution, you can keep your actions dynamic and reusable—avoiding the need to hardcode specific org IDs.
This is especially useful for tasks like stub creation, stubmations, API calls, Heimdall registration/deregistration, and reporting, where the context of a specific org is required.
Usage
Use the substitution org.orguuid
in your action definitions to dynamically insert the UUID of the current org.
Example
Action definition:
Substituted definition:
In this example, the ~~org.orguuid
substitution is replaced with the actual UUID of the org associated with the stub (e.g., "123e4567-e89b-12d3-a456-426614174000"). This allows you to track which org is performing the action without hardcoding their details, ensuring that your stubs remain flexible and maintainable.
This substitution is particularly useful in scenarios where you need to reference the org in API calls, logging, or reporting. By using the orguuid, you can ensure that your actions are always contextually aware of the org they are associated with, making your stubs more robust and adaptable to changes in the org structure.
This is especially useful for tasks like stub creation, stubmations, API calls, Heimdall registration/deregistration, and reporting, where the context of a specific org is required.