Home Search

DriveWorks Pro 22
Get Constant Value

Send Feedback

Get Constant Value

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

Properties

Property NameDescription
Source Constant NameThe name of the Constant to get the value from.
Target Constant NameThe name of the Constant to store the value in.
TitleChanges the Title (not the name) of the task.

Example

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 Constant Name"DWConstantCustomerName"DWConstantCustomerNameThe name of the Constant to get the value from.
Target Constant Name"DWConstantStoredCustomerName"DWConstantStoredCustomerNameThe name of the Constant to store the value in.

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:

Success

  • Task was exectued succesfully.

Success with Warnings

  • N/A

Failed

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