Home Search

DriveWorks Pro 24
Upgrade: Get Previous Constant

Send Feedback

Upgrade: Get Previous Constant

The Get Previous Constant task will retrieve the current value of a given Constant before upgrading the specification.

This task will only work when the specification is being upgraded.

See Data Management - Upgrade Specification for more information.

Properties

Property NameDescription
TitleChanges the Title (not the name) of the task.
Source Constant NameThe name of the constant to retrieve

Examples

Property NameExample RuleMeaning
Source Constant Name="DWConstantUserID"This will result in the Constant named UserID being retrieved, for example ID-009345.

The value can be obtained from the Value Data Output.

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.

Data Outputs

Value

This will return the value of the given Constant.

This connection point can be linked to another task, such as Drive Constant Value, to report the value once the task has been executed.

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

  • The task was successfully run.

Success with Warnings

  • N/A - Should never be fulfilled.

Failed

  • Source Constant Name not found.