Overview
Quickly preview a given number of rows from a CSV file. If the workflows file directory is left blank, the home directory will be defaulted.
Variables
|
Name |
Reference |
Type |
Required |
Default |
Options |
Description |
|---|---|---|---|---|---|---|
|
Workflows Folder Name |
SOURCE_FILE_PATH |
Alphanumeric |
❌ |
None |
- |
Name of the local folder on Workflows the target file is expected to be. If left blank, will look in the home directory. |
|
Workflows File Name |
FILE |
Alphanumeric |
✅ |
None |
- |
Name of file to preview. Should be |
|
Number of Rows |
NUM_ROWS |
Integer |
✅ |
5 |
- |
Number of rows to display to the logs from the workflows file. |
Yaml
Below is the YAML template
YAML
source:
template: Workflows Helper - Browse CSV
inputs:
SOURCE_FILE_PATH:
FILE:
NUM_ROWS: '5'
type: TEMPLATE
guardrails:
retry_count: 1
retry_wait: 0h0m0s
runtime_cutoff: 1h0m0s
exclude_exit_code_ranges:
- 101
- 102
- 103
- 104
- 105
- 106
- 199