This Task will read the contents of the specified file and provide the result as a data output.
|File Path||The path to the file to read.|
|Maximum File Size||The maximum file size in bytes, defaults to 65,536 bytes.|
|Title||Changes the Title (not the name) of the task.|
The following Output property can be connected to a relevant Input of another Task (for example the Constant Value Input, of the Drive Constant Value) to store the result in the Specification.
|File Content||The contents of the file.|
|File Path||DWVariableDataLocation & FileToReadReturn||DriveWorks will read the content of the file "\\MyServer\Data\MyTextFile.txt".|
|Maximum File Size||25000||The file size will be restricted to 25000 bytes.|
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.
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 with Warnings
Failed (one of the following occurred)