Skip to main content

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 NameValue Example
CustomerLongNameTest Customer
CustomerShortNameTC
CustomerKey3
CustomerOUNameTest Customer(TC)
CustomerContactEmailjohn@tc.com
CustomerRolesAttributeextensionAttribute13
PreviouslyProvisionedTrue
ServiceNameWorkSpace
ItemNameMicrosoft Word
ItemDescriptionMicrosoft Word Application
ListNameMS Apps
TypeDesktop Application
CreatedByUserLabelAdmin
CreatedByUserNameAdmin_ASP
CreatedByUserEmailadmin@asp.com
RequestedByUserID1
CreatedByCustomerId1
ScriptEventsOutputVariables.ps1
ServiceScriptsDirectoryPrimaryC:\Program Files\Automate101\Atria\Provisioning Engine\WorkSpace
UsernameJohn_abc
UserID8
UserfullnameJohn Smith
UserEmailjohn@abc.com
UserExternalEmailjohn@abc.com
RecoveryEmailAddressjohn@abc.com
AzureUserIDDBFE7060-A562-4D18-9C58-6684CD55E930

Summary

If you experience any issues with the use of variables within Atria, please contact us at support@getatria.com.