Append Text File Steps
  • 21 Feb 2023
  • 1 Minute to read
  • Dark
    Light

Append Text File Steps

  • Dark
    Light

Article Summary

Step Details

Introduced in Version3.0.0
Last Modified in Version8.0.0
LocationFile Management

The Append Line of Text to File and Append Text to File steps both append a line to a file, similar to the File Writer steps. 

However, these steps are designed only to add a single string and create a new file if a matching file does not exist.


Append Line of Text to File

The Append Line of Text to File step adds a new line of text to a file. The full file path must be specified in the File Name input. If no matching file is found, or if only the file name is added, a new file will be created in the Decisions Server directory.

Inputs

PropertyDescriptionData Type
File NameThe name or full file path to the file. If only the name is specified, a new file will be created under C:\Program Files\Decisions Server directory for a standard install.String
TextThe new line of text being appended to the file.String

Outputs

PropertyDescriptionData Type
None------



Append Text to File

The Append Text to File step functions similarly to the Append Line of Text to File step; however, the text will be added onto the last line of the file instead of creating a new line with the text.

Inputs

PropertyDescriptionData Type
File NameThe name or full file path to the file. If only the name is specified, a new file will be created under C:\Program Files\Decisions Server directory for a standard install.String
TextThe new line of text being appended to the file.String

Outputs

PropertyDescriptionData Type
None------


Related Information

Forum Posts:


Was this article helpful?