Skip to main content

Read Text File

Description#

This activity read the data from the selected text file and stores it in a string variable.

Properties#

Input#

  • Encoding – Encode the file into UTF formats (UTF7encoding, UTF8encoding, UTF32encoding) and detects the encoding used in the file. Refer to link for more information Character Encoding.
  • File Name – Specify the name and path to read the file.

Optional#

  • Continue On Error – It Specifies whether the automation should continue even the current activity fails. This field only supports Boolean values (True, False). The default value is False.

    Note: If this activity presents inside Try Catch and the value of this property is True, it will ignore errors during the execution of automation.

Misc#

  • DisplayName – Add a display name to your activity.
  • Private – By default, activity will log the values of your properties inside your workflow. If private is selected, then it stops logging.

Output#

  • Content – Read the text file stored in a string variable

Example#

Correlation Scope

Download Example