DriveWorks Pro 18: Drive Constants And Controls From A Table Array [send feedback...]

Drive Constants and Controls From A Table Array

This Specification Macro Task will Drive Constants and Control values from a Table Array.

Properties

Property NameDescription
TitleChanges the Title (not the name) of the Task.
Array ValueA Table Array value, such as the result of a QueryDataValues Function.

Array Format

The Array used for this Task needs to be in certain format for the task to work. The Array should be laid out like so:

Array
{"Name","Length","Width","Height","Color";"Value",120,450,700,"Red"}

The Array Displayed In Table Format

NameLengthWidthHeightColor
Value120450700Red

Example

When this Task is added the properties are static. To be able to build rules on a static property see How To: Change A Static Property To A Dynamic Property.

Property NameExample RuleExample ResultMeaning
Array ValueDWVariableTableArrayDWVariableTableArrayThis will Take the Array stored in the Variable DWVariableTableArray and use it to populate the Controls and Constants in the Table.

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

  • Table Array has driven Constant and Control values successfully.

Success with Warnings

  • N/A - should never be fulfilled.

Failed (one of the following occurred)

  • Table Array does not have the required rows to drive Control and Constant values, the Table Array needs at least one header and one row.
  • The data given is not a Table Array.
  • General failure - Check the Specification report for more details.

Table of Contents