DriveWorks Pro 16: Export Variables Listed In A Table To A Text File [send feedback...]

Export Variables Listed In A Table To A Text File

The purpose of this Specification Flow Task is to index through a two column table. For each value in the first column, it will look for a Variable of that name. If it finds one, it will get its current value and then write a line to the text file, where the first value in that line will be the name of the corresponding rows second value, and the value will be the original Variables value.

Properties

Property NameDescription
TitleChanges the Title (not the name) of the task.
Table NameName of the table containing the list of variables and aliases.
Export PathFull path, including extension, of the file that the Variables will be exported to
Write HeadersTRUE to write VariableName and AliasName as Headers in the text file.

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
Table Name"VariableCheck"VariableCheckThis is the name of the Table that contains the list of Variables that with there current values.
Export Path"C:\MYDocuemnt\Export\VariableCheck.txt"C:\MYDocuemnt\Export\VariableCheck.txtThis is the full file path and extension for where the exported file will be created.
Write HeadersTRUETRUEThis will put the Headers VariableName and AlliasName into the created Text file.

Example Table

Table Of Variables
Variable
FirstName
SecondName
Company
OrderNumber

Example Text File

Created Text File

VariableName,Aliasname

FirstName,Frank

SecondName,Worthington

Company,DoorsRUs

OrderNumber,D-142H1A5

Table of Contents