Which fields take which keys
Every key field inside a row falls into one of four groups. The Designer checks each field when you type a key and shows the message from the last column when the key doesn’t fit.
Expressions (labels and text with
${}, computed values, hide and disable conditions, validator messages, local scripts, start params, URLs, the prototype selection condition) can mix all three forms: ${item:price} * ${vatRate} reads the row’s price and the root’s VAT rate. A root value no longer needs a workaround such as additionalData to be read from inside a row.
An item: or parent: key that can’t be resolved at runtime renders empty and is logged; it doesn’t break the screen.
Other placement messages:
"item:name" only works inside a collection or table row.: anitem:orparent:key on a component that isn’t in a row."parent:x" has no enclosing collection. Use "item:" for this row.: aparent:key in a collection that isn’t nested."parent:" cannot be used in this field. Use "item:" for a field of this row.: single-key fields (a data key, a source) never takeparent:.Add a field name after "item:", for example "item:name".: an emptyitem:.
Tables
A table cell’s keys follow the same rules:item: reads the row, a bare key reads the root.
- Sorting and filtering use the cell’s first
item:key, or its first key when it has none. - Editable cells edit their first key only when that key is an
item:key. A cell whose first key is a bare root key is read-only in the row.
Nested collections
A collection inside a collection item reads its list from the outer row when its source is anitem: key, for example item:addresses. Inside the inner rows:
item:streetreads the inner row (the address).parent:namereads the outer row (the customer the address belongs to).countryreads the data root.
countries, reads a root list and starts its rows fresh: its rows have no parent:.
parent: reaches one level up only. In expressions you can use it to read the outer row; single-key fields such as a data key never take it. In a table placed inside a collection item, parent: in a cell reads the collection row.
Write row action results back into the row
In a UI flow, an action fired from a row can write its result into that row instead of the data root. Three settings work together.Row identifier key
Set on the Collection or Table in a UI flow, under its source. Pick a field whose value is unique in every row and never changes, such asid. When a workflow or upload result comes back, FlowX finds the row by this value, so the result lands in the right row even if the list was re-sorted or reloaded in the meantime.
- The field must be text or a number: the Designer shows
The Row identifier key must be a text or number fieldfor objects, lists and booleans. - A sensitive field can’t be used, because its value is sent with every row action request.
- If two rows share a value, the result goes to the first of them in the list.
- Process screens don’t show this setting. Only UI flow row actions read it.
Output destination and Write result to
Actions inside a row of a UI flow or reusable template get a setting that chooses Current row or Root:
Merging follows the usual rules: nested objects merge field by field, while lists and other values replace what the row held.
- Start workflow and Upload find the row by its Row identifier key. If a level of the row has no key, the setting shows
<Collection or Table name> has no Row identifier key.with a Set it button that opens that collection or table. The action can’t be saved with Current row until that key is set. - Run local script runs on the client against the row it was fired from, so it needs no Row identifier key.
- An upload in a table row keeps its plain Response key and has no destination choice.
- For an upload with Current row, write the Response key without
item:orparent:. It can’t name the Row identifier key field, which would overwrite the identifier.
{ "status": "done" }, not wrapped in the row’s path. Wrap them only if you want a sub-object in the row.
Edge cases:
- If no row matches when the result arrives (the row was removed, or its identifier changed), the result is dropped and a warning is logged. Nothing is written to the root instead.
- If the row’s identifier is empty (missing,
nullor""), the request is refused, the action counts as failed and the rest of the action chain doesn’t run.0is a valid identifier. - The next actions of a row wait only for that row’s own run, so users can keep working in other rows.
- A Save local variable copy of the row (Row item save key) stays a root key. When a Current row result lands, the copy is refreshed only if it still holds the same row.
- Actions saved before these settings existed are not changed and behave as before.
Example: refresh one row from a workflow
A table lists orders fromorders, each with an id. Each row has a Refresh button that calls a workflow returning { "status": "SHIPPED", "tracking": { "number": "1Z999" } }.
1
Set the Row identifier key
Select the Table and set Row identifier key to
id.2
Add the row action
On the Refresh button, add a Start workflow action with the workflow, and pass the row’s id in its start params with
${item:id}.3
Write the result to the row
Set Output destination to Current row.
status and tracking.number. The other rows and the data root stay as they were.
Reusable templates and rows
Inside a reusable UI template, keys belong to the template: a bare key reads the template’s own data root, anditem: reads rows of a collection or table inside the template, never the rows of the screen that hosts it. Actions inside a template’s own rows can still choose Current row for Write result to and Output destination.
Two cases need attention:
- A reusable template placed in a collection item or table row can map only root values through its input and output mapping. Where it used to show the item’s value, it now shows the root value or nothing, with no error.
- Action params set on a reusable template reference, when the host component is outside any row but the action sits in a collection inside the template: a bare
${amount}in those params now reads the root. Change it by hand to${item:amount}.
Upgrading and importing
When a self-hosted installation upgrades to the next LTS release, a process engine migration rewrites the keys stored in every process screen, UI flow and reusable template, every version and deleted ones included. Keys inside collection items and table rows that used the old relative form becomeitem: keys, for example name becomes item:name. The migration is restartable.
Imports go through the same rewrite, so a process, UI flow or reusable template exported from an earlier version opens with item: keys.
The migration leaves these as written:
- A value that isn’t a plain key (for example a key built from text and expressions). It’s logged instead.
- Navigation query parameters.
- An empty
item:. - Keys a custom component builds at runtime in its own code, and data paths a script builds as strings. The migration can’t see them.
Exporting to an earlier version
An export that targets an earlier FlowX version (for example 5.9.x) converts back:item: keys become the old relative keys, and the Row identifier key and Current row destinations are removed, because earlier versions don’t have them. parent: keys are not converted, so check the screens that use them after you import the export into the earlier version.
Issues Console rules
These rules report misplaced row keys and row settings. All of them are errors.
For how findings are listed and fixed, see Checking for issues.
Related resources
Collection
Display lists of items from your data
Collection prototype
Lay out each item of a collection
Table
Show rows with sorting, filtering and row actions
Event handlers
Configure actions and where their results go

