Record package guide
Work with one typed row: copy a record, add or remove fields, replace values, and test its headers or cells.
Version 2.17.1. Installed versions can differ. Examples are illustrative and not tested. Packages.
Prerequisites
- A Record is one row: column names, their types and one value each.
- Bind Record inputs to a Record variable, not to CSV text.
- Column numbers start at
0. - Write numbers with a dot as decimal sign,
true/falsein lowercase and dates like2026-10-15T09:00:00Z.
Read samples/orders.csv into Table $orders$ (CSV/TXT Open with session=orders, containsHeader=true, delimeter=comma, then Read and Close). Loop over the rows. The first row is $person$, with String fields id=A1, name=Ada, qty=2. Every example starts from it.
id,name,qty
A1,Ada,2
A2,Bea,10Dictionary fields take a Dictionary variable or JSON such as {"name":"Ana","active":true}.
Shared fields
- Column selection: pick a column by name or by number (from
0). Only the field for your choice is used. Delete column and Update column look for exact case first, then ignore case. Update cell uses Case-sensitive comparison. A missing name or a bad number fails, except in the condition Record has column. In Update cell,NAMEusescolNameandINDEXusescolIndex; elsewhereNameusescolumnNameandIndexusescolumnIndex. - Case comparison:
truematches exact case;falseignores case. Spaces are not trimmed. - Typed values: choose the column type, then fill only the Value field for that type. Type the value or bind a variable of that type. Examples: String
Ada; Number2.5; Booleantrue; Datetime2026-10-15T09:00:00Z(bind a Datetime to set your own offset).
Typed value inputs
| ID | Field | Type; default; requirement | Use |
|---|---|---|---|
type | Value | Stringdefault ""optional | If type is String. |
type | Value | Numberdefault 0optional | If type is Number. |
type | Value | Booleandefault falseoptional | If type is Boolean. |
type | Value | Datetimedefault 0001-01-01T00:00:00+00:00optional | If type is Datetime. |
Actions
Add column (recordAddColumn)
Add a named, typed column with a value.
Inputs
Also uses the typed value inputs.
| ID | Field | Type; default; requirement | Use |
|---|---|---|---|
source | Source record variable | Recorddefault empty Recordrequired | Bind Record. |
column | Column name | Stringdefault ""required | The new header, for example approved. A header can repeat. |
column | Column type | Columndefault Stringoptional | Typed values: String, Number, Boolean, Datetime. |
column | Insert column at | Columndefault Lastoptional | First to prepend, Last to append, or Specific to use specific. |
specific | specific | Numberdefault 0optional | For Specific, a column number from 0 up to and including the number of columns. |
Outputs
| ID | Type | Result / editor field |
|---|---|---|
destination | Record | Record with the new typed column at the chosen place. Field: Destination record variable. |
Example
Use $person$ from Prerequisites. Set sourceRecord=$person$, columnName=approved, columnType=Boolean, typeBooleanVal=true, columnInsertPosition=Last. Bind destinationRecord to $approvedPerson$.
Expected result
$approvedPerson$ has fields id=A1, name=Ada, qty=2, and Boolean approved=true. A Specific number outside 0 to the number of columns fails.
Assign (recordAssign)
Pass the Record to a later step with the same columns and values.
Inputs
| ID | Field | Type; default; requirement | Use |
|---|---|---|---|
source | Select the source record variable | Recorddefault empty Recordrequired | Bind Record. |
Outputs
| ID | Type | Result / editor field |
|---|---|---|
destination | Record | The source Record, same columns and values. Field: Select the destination record variable. |
Example
Set sourceRecord=$person$. Bind destinationRecord to $personCopy$.
Expected result
$personCopy$ has the same id,name,qty columns and A1,Ada,2 values. An empty Record stays empty. Assign returns the source Record, not a new copy.
Delete column (recordDeleteColumn)
Remove a column and its value by name or number.
Inputs
| ID | Field | Type; default; requirement | Use |
|---|---|---|---|
source | Source record variable | Recorddefault empty Recordrequired | Bind Record. |
delete | Delete column by | Columndefault Indexoptional | Index or Name. See column selection. |
column | Column index | Numberdefault 0optional | Column index. |
column | Column name | Stringdefault ""optional | If Name. See column selection. |
Outputs
| ID | Type | Result / editor field |
|---|---|---|
destination | Record | Record without selected column and value. Field: Destination record variable. |
Example
Set sourceRecord=$person$, deleteColumnBy=Name, columnName=qty. Bind destinationRecord to $identity$.
Expected result
$identity$ contains only id=A1 and name=Ada. A missing column or a bad number fails, also on an empty Record.
Set record (recordSet)
Set named fields from a Dictionary, with its values and types. It can add missing fields.
Inputs
| ID | Field | Type; default; requirement | Use |
|---|---|---|---|
row | Template record | Recorddefault empty Recordrequired | Bind Record. |
list | Add required column name and corresponding value | Dictionarydefault {}required | Bind a Dictionary or enter {"name":"Ana",. Keys are headers; values give the new values and their types. |
b | Add column, if does not exist already | Booleandefault falseoptional | true adds missing headers at the end. false: a key with no matching column fails. |
case | Case-sensitive header matching | Booleandefault falseoptional | Case comparison. |
Outputs
| ID | Type | Result / editor field |
|---|---|---|
result | Record | Updated Record, with missing fields added at the end if allowed. Field: Assign modified record to. |
Example
Set rowRecord=$person$, list={"name":"Ana","active":true}, bAddIfMissing=true, caseSensitive=false. Bind result to $changedPerson$.
Expected result
The result keeps id=A1 and qty=2, replaces name with String Ana, and appends Boolean active=true. With bAddIfMissing=false, the missing active fails. An empty Dictionary changes nothing, except that a column with no value gets an empty String.
Update cell (recordUpdateCell)
Replace one cell; the column takes the type of the new value.
Inputs
| ID | Field | Type; default; requirement | Use |
|---|---|---|---|
input | Base record | Recorddefault empty Recordrequired | Bind Record. |
select | Select column by | Selectdefault NAMEoptional | NAME or INDEX. See column selection. |
col | Column name | Stringdefault ""optional | Selected name. |
case | Case-sensitive comparison | Booleandefault falseoptional | Case comparison. |
col | Column index | Numberdefault 0optional | Column index. |
new | New value of cell | Anydefault empty Stringoptional | Bind a typed variable, for example String $replacement$ with Ana. The column takes its type. Text entered directly gives type Any. |
Outputs
| ID | Type | Result / editor field |
|---|---|---|
result | Record | Record with the new value and the new column type. Field: Assign modified record to. |
Example
Create String $replacement$ with value Ana. Set inputRecord=$person$, selectMethod=NAME, colName=name, caseSensitive=false, newValue=$replacement$. Bind result to $correctedPerson$.
Expected result
The result has id=A1, String name=Ana, and qty=2. An unknown header or a bad number fails.
Update column (recordUpdateColumn)
Replace a column's type and value; keep its name.
Inputs
Also uses the typed value inputs.
| ID | Field | Type; default; requirement | Use |
|---|---|---|---|
source | Source record variable | Recorddefault empty Recordrequired | Bind Record. |
update | Update column by | Columndefault Indexoptional | Index or Name. See column selection. |
column | Column index | Numberdefault 0optional | Column index. |
column | Column name | Stringdefault ""optional | If Name. See column selection. |
column | Column type | Columndefault Stringoptional | Typed values: String, Number, Boolean, Datetime. |
Outputs
| ID | Type | Result / editor field |
|---|---|---|
destination | Record | Record with the new type and value; names kept. Field: Destination record variable. |
Example
Set sourceRecord=$person$, updateColumnBy=Name, columnName=qty, columnType=Number, typeNumberVal=3. Bind destinationRecord to $recounted$.
Expected result
$recounted$ keeps id and name; qty now has type Number and value 3. The old value is replaced, not converted. A missing column or a bad number fails.
Conditions
Record cells are blank (recordBlank)
True if every value is empty or only white space. Column names do not count.
Inputs
| ID | Field | Type; default; requirement | Use |
|---|---|---|---|
row | Input Record variable | Recorddefault empty Recordrequired | Bind Record. |
Outputs
No output. True or false picks the branch.
Example
Set rowRecord=$person$. For a true case, make a Record with two String cells: one empty, one with only spaces.
Expected result
$person$ gives false because it holds A1, Ada and 2. The blank sample gives true. A Record with no values also gives true. Number 0 and Boolean false are not blank.
Record has column (recordHasColumn)
Check a header before updating a field by name.
Inputs
| ID | Field | Type; default; requirement | Use |
|---|---|---|---|
input | Record | Recorddefault empty Recordrequired | Bind Record. |
conditiontype | Condition | Containsdefault CONTAINSoptional | CONTAINS (editor: Includes) needs the named header. NOTCONTAINS (editor: Does not include) gives the opposite. |
col | Column header | Stringdefault ""required | The header to test, for example name. A missing header gives false for Includes, not an error. |
case | Case-sensitive comparison | Booleandefault falseoptional | Case comparison. |
Outputs
No output. True or false picks the branch.
Example
Set inputRecord=$person$, conditiontype=CONTAINS, colName=name, caseSensitive=true.
Expected result
The condition is true. colName=Name gives false with case-sensitive matching. NOTCONTAINS gives the opposite. An empty Record has no matching header.
Record headers are blank (recordSchemaBlank)
Test if all headers are blank, or if any is not. Values do not count.
Inputs
| ID | Field | Type; default; requirement | Use |
|---|---|---|---|
input | Input Record variable | Recorddefault empty Recordrequired | Bind Record. |
conditiontype | Condition to check | Blankdefault ALL_optional | ALL_ needs every name to be empty or only white space. ANY_ is the opposite. |
Outputs
No output. True or false picks the branch.
Example
Set inputRecord=$person$, conditiontype=ALL_HEADERS_BLANK.
Expected result
The condition is false for headers id,name,qty; ANY_HEADER_NOT_BLANK gives true. A Record with no columns gives true for all blank and false for any not blank.