Appian Community and Appian Academy are being upgraded. As a part of the upgrade, Appian Community is currently in read-only mode, and user registration is disabled until August 3. We apologize for any inconvenience this may cause, but a more secure, stable, and performant Community experience is coming soon!

The new Appian Community launches August 3, followed by Appian Academy on August 7. During the migration, Appian Community Edition, Appian Academy, Documentation, Certifications, Instructor-led Customer Training, Partner Sales Training & Accreditation, and Forum (for Appian Partners and Customers only) will remain available.

Text File Utilities

Overview

Append, read, or read lines with filters from a text file.

Key Features & Functionality

Smart Services:

  • appendTextToFile - Append text to a text Document

Functions

  • readTextFromFile - Reads data from a text Document (any extension encoded as text) into a string, with an option to preserve line breaks
  • readMatchingLinesInFile - Reads and returns lines from a text Document which contain a provided search string
  • readMatchingLinesInFileRegex - Reads and returns lines from a text Document which match a provided Regex pattern
  • readTextFileByPage — Reads a page of lines from a text Document, returning content and optionally total line count as a dictionary. Supports paged reading of large files to avoid memory issues.
Anonymous
Parents Comment Children