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 Name | Description |
|---|---|
| Step name | Specify 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 field | Enable checkbox to get filename from field. |
| Get filename from a field | Select the field from which to get filename. |
| Or | |
| File or directory | Browse the file or directory to load in memory. |
| Regular expression | If directory is chosen filter filenames using regular expression. |
| Exclude Regular expression | Exclude filenames with this regular expression. |
| Selected Files: | View the selected files. |
| File/Directory | View added Directory or filename. |
| Wildcard | View Regular expression applied. |
| Exclude wildcard | View Regular expression to exclude files. |
| Required | Is this file requir (Y/N). The default value is N. |
| Include subfolders | Select value for: Include subfolders(Y/N). The default value is N. |
| Content Tab: | |
| Settings: | |
| Encoding | Choose the file content character encoding. |
| Ignore empty file | Enable to ignore empty file. |
| Limit | Provide content limit. |
| Additional fields: | |
| Include filename in output? | Enable checkbox to include file name in output. |
| Filename fieldname | Provide the field name for Filename output. |
| Rownum in output? | Enable to see row number in output. |
| Rownum fieldname | Specify field name for rownum. |
| Add to result filename: | |
| Add files to result filename | Enable 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: | |
| Name | Specify the name of the file related elements loaded in memory. |
| Element | Choose File element: File content/File size. |
| Type | Data type of element. |
| Format | Choose a field format. |
| Length | Specify the length of the element. |
| Precision | Specify the precision of the element. |
| Currency | Specify the currency symbol of the element. |
| Decimal | Specify the numeric decimal symbol of the element. |
| Group | Specify the numeric grouping symbol to use. |
| Trim type | Specify the type of trimming to use. |
| Repeat | Choose 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 field | Specify a field name for short filename |
| Extension field | Specify a field name for filename extension. |
| Path field | Specify a field name for file path. |
| Is hidden field | Specify a Y/N. Y to hide field. Default is N. |
| Last modification field | |
| Uri field | Specify a field name for Uri (e.g. file:///C:/temp/file.txt). |
| Root Uri field | Specify a field name for Root Uri (e.g. file:///C:/). |