This Specification Flow Task reads in multiline, two column data from a text file, and passes them into the specification for driving into constants or controls.
|Title||Changes the Title (not the name) of the task.|
|File Name||File Name of the txt or csv file - Including Extension.|
|Constant Name||The constant used to report on the success of the specification task, for reference only.|
|Delimiter||Character that is used between the values on each row (comma by default).|
The text file used for the import is to have two columns:
If a constant is found with the same name (Not case sensitive) then the value from the second column will be passed into it.
If no constant is found with that name, then DriveWorks will look for a form control with that name to pass the value to.
If no control is found, then no action will be taken with that rows data.
If a constant and control exist with the same name the constant will take priority.
The text file needs headers in the first row, which need to be in the format: