Invoke Operation
- 14 May 2021
- 1 Minute to read
-
Print
-
DarkLight
-
PDF
Invoke Operation
- Updated on 14 May 2021
- 1 Minute to read
-
Print
-
DarkLight
-
PDF
This is generated from the built in components of BuildMaster 7.0.0, and may be different than what you have installed (especially if you have extensions); go to [User Icon] -> Documentation within your BuildMaster instance to see exactly what operations are available.
Invoke Operation
Invokes a specified operation by its script alias.
Script usage:
Invoke-Operation( Name: <text>, [Arguments: <%(key1: value1, ...)>] );
This operation may be prefixed with Core::
, although this is a built-in namespace and isn't really necessary.
Arguments:
Name | Format | Script Usage | Usage Notes |
---|---|---|---|
☆ Operation name (default) | text | Name | This argument is required. |
Arguments | %(key1: value1, ...) | Arguments |
Note: This operation should only be used when the specific operation type is unknown until runtime. If the operation's script alias is already known when writing the plan, that operation should be used directly.
Example:
Invoke-Operation ( Name: Send-Email, Arguments: %(To: $ToEmail, Subject: Important BuildMaster Email $AdditionalSubject, Text: This email was sent via the Invoke-Operation operation.) );
Was this article helpful?