DriveWorks Pro 16: Write Variables To Simple Table [send feedback...]

Write Variables To Simple Table

This Specification Flow Task gets data from a set of Variables, and writes them to a Simple Table.

The task relies on Variables having a common prefix. This is the portion of the Variable name after the default DWVariable, but before any distinguishing suffix.

For example:

DWVariableType1

Properties

Property NameDescription
TitleChanges the Title (not the name) of the task.
Item Prefix StringA pipe bar (|) delimited string of Variable prefixes.
Table NameThe name of the DriveWorks Project Table that the Variables will be written to.

Example

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

Property NameExample RuleExample ResultMeaning
Item Prefix String"Type|Material|Price"Type|Material|PriceThis is the pipebar (|) delimited list of all the prefixes for the Variables values to export to the Simple Table.
Table Name"VariableExport"VariableExportThis is the name of the Simple Table to export the Variable values to for the specified Variable prefixes.

Example Variables

Variable NameVariable Value
DWVariableType1A
DWVariableType2B
DWVariableType3C
DWVariableMaterial1Plastic
DWVariableMaterial2Steel
DWVariableMaterial3Stainless Steel
DWVariablePrice112.32
DWVariablePrice245.87
DWVariablePrice378.54

Example Table Outcome

The table would have the following written into it, including the headers.

TypeMaterialPrice
APlastic12.32
BSteel45.87
CStainless Steel78.54

Table of Contents