Options tab of the Read from File Action allows precise control over which portion of the file is read into a variable. In addition to setting start position and data size, you can override the automatically detected file encoding to ensure accurate reading of content.
Options | Details |
---|---|
Override auto-detected encoding with | Forces to use a specific character encoding instead of relying on automatic detection. This ensures correct interpretation of file content in cases where automatic detection might "fail"—such as very small files with only a few bytes, or large UTF-8 files where the first Unicode character appears far into the file, and similar cases.
|
Before reading file, skip first | Specifies the starting point in file starting from which data will be read into variable. If not specified, file is read from the beginning. |
Read up to | Specify the amount of data to be read from file. If not specified, data are read until the end of file. |
Also, store result in | The result of the content retrieval operation is already accessible via the Variable Wizard. Optionally, choose an existing variable to store the result. To create an empty variable, use the Set Variable Action. |
Size units | |
This Action is enabled | An Action is executed only if it is enabled. Otherwise, it will be automatically skipped (completely ignored) from the Task flow. |
Use custom display name | Rename this Action, to make a human-readable workflow that will help you to find, read, and make sense of the Task structure later. |
Advanced fallback options | Manage the advanced fallback options—select which error types will lead to automatic execution of predefined workaround operations. |
Log only errors | Do not log information and warning messages for this Action. It may be useful to keep the log file small and tidy on production systems. |
Note
- When Read file Action is configured to skip specified amount of bytes from the beginning of the file, keep in mind that Unicode (UTF-16) characters are 2 bytes long each.
Need assistance?
If you have any questions, please do not hesitate to contact our support team.