Add button for default PowerShell script example
complete
Remco Houthuijzen
We would like to have a PowerShell template script button at “PowerShell data source configuration” and “Tasks” in delegated forms. This script should provide a basic PowerShell script with the best practices. For example, how to map “global service automation variables” and “local form variables”. And additional how to correctly Try/Catch the PowerShell script with correct logging.
This should make starting a new Delegated form easier and adding additional custom form fields easier.
===== edited ====
With this feature we will introduce a "set default script" button for PowerShell scripts that run on the SA Agent. This means it is supported by the PowerShell data source, Delegated form task and the new Product actions (currently beta, release in 2023.08).
R
Rick van den Dijssel
complete
M
Michiel van der Veeken
planned
Planned for 2023.07 release
M
Michiel van der Veeken
under review
S
Steve MIller
Agreed. I often have to go digging in other scripts or on the docs site to find the information I need (especially logging), which slows down implementation.