Within Application Workspace, you can set global variables at zone level. Using variables makes it easier to use common paths or parameters across multiple packages. For more information about inheritance and available system parameters, see Variables.
Variable Types
- Static - add a fixed value which can be overridden at the context or package level
- Dynamic - specify a credential or license to use as the value of the variable
Example: If you choose a credential as the Entity type, usernames and passwords you add as Entities are stored encrypted within the Application Workspace System. Application Workspace will ask only for the user's username and password once, retaining this information within the Credential Store. This makes the credential reusable within multiple packages.
Create a variable
To create a new variable:
1. From the Manage screen, under Workspace, click Variables.
2. Click Create.
3. As the variable Type, select 'Static' or 'Dynamic'. Click Next.
4. On the Overview tab, enter the required details:
- For a Static variable, enter a Name and Value.
- For a Dynamic variable:
- Enter a Name
- Select the Entity type: 'Credential' or 'License'
- Add the credential or license as the Entity
- Assign the entity a Property
- For a credential, identify the entity as a 'Username' or 'Password'
- For a license, the property is 'License Key'
TIP: Use the variable Name within packages by enclosing its name within ${*name*}.
5. (optional) Enable the Sensitive option to hide the variable from logging and the Application Workspace interface.
View or edit a variable
To view/edit a variable:
1. From the Manage screen, under Workspace, click Variables.
2. Double-click on a variable in the table.
Selecting multiple table rows
- Adjacent rows: Click on the first row, then hold down the Shift key and click on the last row in the range
- Non-adjacent rows: Hold down the Ctrl key (or "Command" on Mac) and click on each row you want to select
- Adjacent rows, using only the mouse: Click and hold the left mouse button on the first row, then drag the cursor up or down across the rows to highlight the desired ones
Create a personalized view of the table by showing or hiding columns or by filtering variables.
Save your custom view by clicking Views > Save as.