Introduction
In various text entry fields in the HelloID admin dashboard, you can access relevant object variables and their properties. This is done via double curly brace syntax, which includes code auto-completion. This article demonstrates where and how to use it.
Where to use it
- PowerShell scripts, including those used in Tasks
- Mapping sets
- Data source input values
- Provisioning notification email templates
- Various fields in non-PowerShell tasks in the built-in task catalog
- Throughout the self service module of HelloID. See the Self Service Request Variable Reference for a complete reference of object variables available specifically in this context.
How to use it
In any field which accepts double curly brace syntax, you will see an auto-complete drop down menu appear when you type {{
:
This drop down will show you which variables may be referenced. For example, when you're configuring a task associated with a self-service product, you'll have access to variables like product
, requester
, and so on. You would not have access to these variables when configuring a mapping set, because mapping sets don't relate to products. The syntax is the same everywhere, but which variables are available always depends on the exact situation and scope. The best way to see what's available is simply to type {{
.
Note that {{variable.}}
is used to access system and user-defined variables in the variable library.