BuildMaster Documentation

General - Invoke Operation

  • Last Modified: 2020-06-26

This is generated from the built-in components of BuildMaster 6.2.13, 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.)
);

Is this documentation incorrect or incomplete? Help us by contributing!

This documentation is licensed under CC-BY-SA-4.0 and stored in GitHub.

Generated from commit ced119d5 on master