Read file text

Description

Reads the content of a text file. The 'Save value to variable' block appears automatically when choosing the 'Read file text' function. It automatically saves the value to a variable. However, the block is not mandatory to use and can be removed from the workflow.

Parameters

Path

  1. Set a value: enables you to directly write the desired path.

  2. Save the previous step result: chooses the previous function result as a path.

  3. Calculate a value: enables you to use available properties and methods to form a path.

Comment

Contains an annotation to the block. The input text will be displayed inside the block above the function name.

Usage Examples

This function is suitable when a file contains any settings for a process. Then the content of the file can be read and used in a project and a user may change the process logic accordingly.