ThingWorx Flow > Connectors Overview > Utilities and Tools > File > Read File
Read File
Use this action to read a file or data.
Using the Read File Action
To use this action in your workflow, connect it to ThingWorx Flow. To connect to the flow, do the following:
1. Click and drag the Read File action under the File utility to the canvas, place the pointer on the action, and then click or double-click the action. The Read File action window opens.
2. Edit the label name, if needed. By default, the label name is same as the action name.
3. In the File Path field, enter the path of the file to read. For example, /Sample.txt.
The path targeting the parent directory is not allowed.
4. Select the file decoding type from the Decoding list.
5. Click Done.
Output Schema
The Read File action returns an output schema as shown in the figure that follows: