Reads the content of a specified file and returns the text as an output.
Content - The extracted text from the file stored into a String variable.
Encoding - The type of encoding used on the specified file.
FilePath - The path of the file to be read.
ContinueOnError - The Boolean value to specify whether to continue executing the next activities even if there is an error thrown on this activity.
DisplayName - Renames the activity.
- Create a String variable called names.
- Add a File Read Text activity inside a Sequence, and in the Content field under Properties, add names.
- In the File Path, search for and then select the file that would be read by, first, clicking the browse button.
- Add a Write Line activity, and in the Text field, write names.
The use case should look as the following screenshot:
The result should be the contents of the specified file in the Output panel.