Get Directory Files
Use the Get Directory Files action to retrieve the files and folders from a particular directory.
Complete the following steps to use the Get Directory Files action in your workflow:
1. Click and drag the Get Directory Files action under the File utility to the canvas, place the pointer on the action, and then click or double-click the action. The Get Directory Files window opens.
2. Edit the Label, if needed. By default, the label name is the same as the action name.
3. In the Directory Path field, enter the path of the directory for which you want to retrieve the files. This path must be relative to the <ThingWorx Flow Installation Directory>\modules\cache\userdata folder. Your workflow can access the files in the userdata folder only. Do not specify a relative path to access its parent directory or an absolute path to access any other folder on your local machine.
4. Click Done.
Output Schema
The Get Directory Files action returns an output schema as shown in the following figure: