Variable Substitution
Core Substitution Context
Learn about useful variable substitutions in Stubber.
Overview
In Stubber, variable substitutions let you dynamically insert values into your action and state definitions. This makes it easier to create flexible, reusable stubs that adapt to different contexts and environments.
This section focuses on the most commonly used substitutions that reference core properties of the stub, template, or org. These simplify handling customer data, metadata, or dynamic content, helping keep your stubs efficient and easy to maintain.
The core properties that can be substituted are:
- Stubref: A unique identifier for the stub.
- Stub Subject: The subject of the stub.
- Template Branch: The branch associated with the template.
- Template UUID: The unique identifier for the template.
- Template Name: The template's name.
- Org Name: The name of the organization that owns the stub.
- Org UUID: The organization's unique identifier.
- Actioning User Contact UUID: The unique identifier for the user executing the action.
By the end of this section, you’ll understand how to use these substitutions effectively across different scenarios.