Files Handling

Read Text File

Activity Read Text File allows to read a text file with other encoding standard than default standard of your application.

v2_fh_read
Parameter NameParameter TypeIn/OutDescription
Alternative Scenario If FailedBooleanInputcheckbox; default is "on"
Display NameLiteralInputyou can change the name of activity for greater clarity of the scenario
EncodingDropdownInputselect the appropriate option from the dropdown list
Exclude from Transaction CheckBooleanInputcheckbox; default is "off"
File PathStringInputfull path to a file
ContentStringOutputvariable to store the retrieved value
ResultBooleanOutputreturns the Boolean value: it will return True if no error is in activity, otherwise it will return False
Result CodeInt32OutputResult Code will return 0 if there is no error in activity, otherwise in most cases it will return 1, the extended result code will show only in several chosen activities