Workspace Variables
Overview
Variables can be used within Workspace to save time and simplify your configurations. They are available to use within the following locations:
Items and ItemTypes:
- Resource Group Name
- User Group Name
Automation
- Variables within Custom Scripts
Usage
info
When using Workspace variables, ensure that you use the correct syntax and spelling of the variables to ensure they work. This includes case sensitivity.
When using variables within the resource and item group name fields, include the variable names in curly brackets as shown in the example below:
{CustomerShortName} - {ItemName} Users
Variables are stored within a hashtable for custom scripts ran based on item events. For more information on Workspace automation see here.
Available Variables
Variable Name | Value Example |
---|---|
CustomerLongName | Test Customer |
CustomerShortName | TC |
CustomerKey | 3 |
CustomerOUName | Test Customer(TC) |
CustomerContactEmail | john@tc.com |
CustomerRolesAttribute | extensionAttribute13 |
PreviouslyProvisioned | True |
ServiceName | WorkSpace |
ItemName | Microsoft Word |
ItemDescription | Microsoft Word Application |
ListName | MS Apps |
Type | Desktop Application |
CreatedByUserLabel | Admin |
CreatedByUserName | Admin_ASP |
CreatedByUserEmail | admin@asp.com |
RequestedByUserID | 1 |
CreatedByCustomerId | 1 |
ScriptEvents | OutputVariables.ps1 |
ServiceScriptsDirectoryPrimary | C:\Program Files\Automate101\Atria\Provisioning Engine\WorkSpace |
Username | John_abc |
UserID | 8 |
Userfullname | John Smith |
UserEmail | john@abc.com |
UserExternalEmail | john@abc.com |
RecoveryEmailAddress | john@abc.com |
AzureUserID | DBFE7060-A562-4D18-9C58-6684CD55E930 |
Summary
If you experience any issues with the use of variables within Atria, please contact us at support@getatria.com.