Append to file

Description

Appends text to a specified file.

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.

Text

  1. Set a value: enables you to directly provide a text to be written to a file.

  2. Save the previous step result: chooses the previous function result as a text to write.

  3. Calculate a value: enables you to use available properties and methods to form an output string.

Comment

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

Usage Examples

This function may be useful in creating different reports. For example, a robot is processing documents in a loop and the task is to write the corresponding processing status for each document. In this case you may use the function where you need to set a pattern for writing the status once and then it will be writing the text to the end of the file in a loop.