Skip to main content

Load File Content In Memory

Description

Load File Content In Memory reads the entire content of one or more files into memory and makes it available as a field in the data stream. Use this step when your workflow needs to process file contents directly — for example, loading a text template, reading a JSON configuration file, or passing file content to a scripting step for parsing. It also captures file metadata such as size, type, and modification time, making it useful for file-based automation scenarios where both content and attributes are needed.

Configurations

Field NameDescription
Step nameSpecify the name of the step. This name can me modified from the default name and has to be unique within the workflow.
Dynamic Filename:
Filename is defined in a fieldEnable checkbox to get filename from field.
Get filename from a fieldSelect the field from which to get filename.
Or
File or directoryBrowse the file or directory to load in memory.
Regular expressionIf directory is chosen filter filenames using regular expression.
Exclude Regular expressionExclude filenames with this regular expression.
Selected Files:View the selected files.
File/DirectoryView added Directory or filename.
WildcardView Regular expression applied.
Exclude wildcardView Regular expression to exclude files.
RequiredIs this file requir (Y/N). The default value is N.
Include subfoldersSelect value for: Include subfolders(Y/N). The default value is N.
Content Tab:
Settings:
EncodingChoose the file content character encoding.
Ignore empty fileEnable to ignore empty file.
LimitProvide content limit.
Additional fields:
Include filename in output?Enable checkbox to include file name in output.
Filename fieldnameProvide the field name for Filename output.
Rownum in output?Enable to see row number in output.
Rownum fieldnameSpecify field name for rownum.
Add to result filename:
Add files to result filenameEnable this checkbox to add the names of the files read to the result of this workflow. A unique list is being kept in memory that can be used in the next process entry in a process, for example in another workflow.
Fields Tab:
NameSpecify the name of the file related elements loaded in memory.
ElementChoose File element: File content/File size.
TypeData type of element.
FormatChoose a field format.
LengthSpecify the length of the element.
PrecisionSpecify the precision of the element.
CurrencySpecify the currency symbol of the element.
DecimalSpecify the numeric decimal symbol of the element.
GroupSpecify the numeric grouping symbol to use.
Trim typeSpecify the type of trimming to use.
RepeatChoose from Y/N. Select Y to repeat the column value of the previous row if the column value is empty (null).
Additional Output Fields Tab:
Short filename fieldSpecify a field name for short filename
Extension fieldSpecify a field name for filename extension.
Path fieldSpecify a field name for file path.
Is hidden fieldSpecify a Y/N. Y to hide field. Default is N.
Last modification field
Uri fieldSpecify a field name for Uri (e.g. file:///C:/temp/file.txt).
Root Uri fieldSpecify a field name for Root Uri (e.g. file:///C:/).