This task will run a Specification Macro in a Hosted Specification.
Perform actions in a Hosted Specification when a Specification Macro is run in the current Specification.
Multiple Specification Host Controls can be running in the current Specification. Therefore the target Specification Host Control name must be specified for the task to run.
Property Name | Description |
---|---|
Macro Argument | Provides an optional Macro Argument to the Specification Macro. |
Macro Name | The name of the Specification Macro to execute in the Hosted Specification. |
Specification Host Control Name | The name of the Specification Host Control to use to obtain the Specification to invoke the Specification Macro on. |
Title | Changes the Title (not the name) of the task. |
When this task is added the properties are static by default.
See How To:
Change A Static Property To A Dynamic Property to enable rules to be built on these properties.
Property | Example Rule | Example Result | Meaning |
---|---|---|---|
Macro Argument | 250 | 250 | 250 will be passed into the Special Variable DWCurrentMacroArgument and can then be used in the Hosted Specifications rules. |
Macro Name | "Set Control Value" | Set Control Value | The name of the Specification Macro to run in the Hosted Specification. Set Control Value will be run in the Hosted Specification. |
Specification Host Control Name | "SpecificationHostControl" | SpecificationHostControl | The name of the Specification Host Control to use in the current Specification. The Specification Macro will run in the Specification hosted in this Control. |
This task has different types of Outputs. For more information about Outputs see Specification Macros Task Node.
Outputs are only available within Specification Macros. Currently Outputs are not available for Specification Flow.
This task supports Status Outputs. These can be used to perform different actions depending on what the status outcome of the task is. For more information see Status Outputs in the Task Node Outputs section of Specification Macros Task Node.
The status output navigation is as follows:
Success
Success with Warnings
Failed