Read Text File

You can select this activity to read all the characters in a specified text file and store the characters in a string variable.

This table lists the properties for the activity.

Property Type Property Name Data Type Description
Input Source Filepath String The location of the file to be read.
Note: Always use relative file paths for serverless environment,. For example: /folder1/. All file paths must follow Linux-style relative paths and must be located under the /tmp folder.
Output Text String The extracted text stored in the string format.
Response Code Int32 Response code for the activity. Possible values:
  • 200 to 290: Indicates a successful response or valid output.
  • 400 to 499: Indicates client error responses.
  • 500 to 599: Indicates server error responses.