Introduction
HelloID can run custom PowerShell scripts inside other objects. This lets you perform actions and create integrations that are specific to your organization's needs.
Templated vs. inline scripts
Templated scripts
PowerShell scripts that you create in Automation > PowerShell Scripts are "templated" scripts. To use them, select them as the Template of Self Service products or Tasks. Templated scripts can be reused in multiple products and/or tasks.
Templated scripts are executed by a HelloID Agent in your on-premises environment, within the user context of the HelloID Agent Service's logon account. They cannot be executed in your HelloID cloud tenant.
Inline scripts
In PowerShell data sources and Delegated Forms (as well as Self Service products and Tasks when the Template toggle is turned off,) you instead use "inline" scripts. Inline scripts are permanently tied to the containing object. They have the same capabilities as templated scripts, but aren't created or listed in Automation > PowerShell Scripts. They can only be viewed and edited directly inside their containing object. In this way, inline tasks are more tightly grouped with their containing object, and are less likely to be inappropriately reused or accidentally broken.
Inline scripts in PowerShell data sources and delegated forms can be executed in your HelloID cloud tenant or an on-premises Agent. However, inline scripts in Self Service products and tasks can only be executed by an on-premises Agent.