The Get Control Value task will retrieve a value from a given Control name and pass it into the target Constant.
Property Name | Description |
---|---|
Source Control Name | The name of the Control to get the return value from. |
Target Constant Name | The name of the Constant to store the Control value in. |
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 |
---|---|---|---|
Source Control Name | "TextBox" | TextBox | The name of the Control to get the value from. Must be an exact Control name. Do not use the return of a Control. |
Target Constant Name | "DWConstantTextValue" OR "TextValue" | DWConstantTextValue | The result of either rule will be the Constant called TextValue. |
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