Description
The Filler node is used to replace the value of a field based on a defined JavaScript script.
Configuration Options
Basic Configuration Options
Setting | Description\Parameters |
---|---|
Columns to Fill |
Picklist of source node columns that will be replaced by the script. |
Script |
Specifies the JavaScript that will be applied to the selected source node columns. |
Node Features
Certain variables can be used in the script to reference the preceeding node's fields.
Variable | Description |
---|---|
@FIELD |
References the value of the row for the column(s) you have selected. |
Row |
An object that can be used to get information about the current row. E.g. row.get(‘COLUMN_NAME’) will give you the value from that column for the current row. |
Index |
An integer object that is available that returns the zero based index of the row you are on. |
Cache |
A dictionary-like object that you can use to propagate values to other row. It is a key-value pair data structure where you can use .put(key,value) to add an entry and use .get(key) to get the value. |