Home Search

DriveWorks Pro 22
Get Control Value

Send Feedback

Get Control Value

The Get Control Value task will retrieve a value from a given Control name and pass it into the target Constant.


Property NameDescription
Source Control NameThe name of the Control to get the return value from.
Target Constant NameThe name of the Constant to store the Control value in.
TitleChanges 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.

PropertyExample RuleExample ResultMeaning
Source Control Name"TextBox"TextBoxThe 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"DWConstantTextValueThe result of either rule will be the Constant called TextValue.

Using the Task in a Specification Macro

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.

Status Outputs

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:


  • Task was exectued succesfully.

Success with Warnings

  • N/A - should never be fullfilled.


  • Control could not be found.
  • Constant could not be found.
  • General error - see Specification Report for more information.