FlowmageDocs

Update

Changes dataVersion 2

Changes the columns you name on one row that already exists.

Settings

SettingWhat it is
TableRequiredRows are separate per environment. Editor runs — Test node and Execute — read and write the test copy.
where.columntext
where.operatortext
where.valueany JSON
Change these columnsOnly the columns you list change; values accept {{ }} expressions, and Clear writes a null, which empties the cell.
If no row matches"fail" or "skip"
Row idInstead of Which row: the id of the row to change, as a select returns it.
Expected versionRefuses when someone changed the row in between (optimistic concurrency).
Technical details
KeyValue
tableIdtexta table id from `requires.tables`
where.columntext
where.operatortext, by default "equals"
where.valueany JSON
valuesobject (any keys), by default {}
ifNone"fail" or "skip", by default "fail"
rowIdtext
expectedVersionnumber

Output

FieldType
rowIdstring
rowVersionnumber
changedA row was changedboolean
Sample output, and the expression for each field
  • rowId"row_a"
  • rowVersion2

Errors

When a step of this node stops a run, the run page shows a code. Look it up:

Example step

The step as a flow file holds it. Replace each value in <…>.

{
  "config": {
    "ifNone": "fail",
    "rowId": "",
    "tableId": "<table>",
    "values": {},
    "where": {
      "column": "",
      "operator": "equals"
    }
  },
  "label": "Update",
  "type": "table.update",
  "version": 2
}

Older versions

A flow that already has this version keeps running it. A new step always gets the newest.

Version 1
SettingWhat it is
TableRequiredRows are separate per environment. Editor runs — Test node and Execute — read and write the test copy.
Row idRequiredPick the row with Table — Select first, then loop over its rows. Its id is under rows[].rowId.
ValuesOnly the columns you set change; values accept {{ }} expressions, and Clear writes a null, which empties the cell.
Expected versionRefuses when someone changed the row in between (optimistic concurrency).
Technical details
KeyValue
tableIdtexta table id from `requires.tables`
rowIdtext
valuesobject (any keys), by default {}
expectedVersionnumber