Skip to main content
Version: 2027 R1

Replace item list values

The action removes all rows of the specified Item list and repopulates it with new rows using values retrieved from the selected Data source. The action's execution log records the number of rows added or removed.

Basic configuration​

The Basic tab of the Properties panel contains the settings common to every action in an automation: the Active switch, the Action type field, the Documentation field, the Use action template switch (when enabled, the action takes its configuration from the selected action template defined in the process), the Execution condition section (determines whether the action always runs or only when a custom rule is satisfied), and the Runtime error handling section (the message and numeric error code returned when the action fails). Since these settings are not unique to the Replace item list values action, they are described in detail in the Actions chapter.

Basic tab of the Properties panel for the Replace item list values action

Advanced configuration​

The Advanced tab contains the fields specific to this action: Item list, Data source, and Column mappings.

Advanced tab of the Properties panel for the Replace item list values action

1. Item list​

The Item list whose rows will all be removed and replaced when the action is executed. The field allows you to choose one of the Item lists defined in the given process.

2. Data source​

The data source from which the rows used to populate the Item list are retrieved. Either a data source or a connection can be selected in this field. When a data source is selected, the Filter switch is available, allowing the retrieved rows to be narrowed down with a business rule; when a connection is selected, the Query field appears, in which the query retrieving the data is defined.

3. Column mappings​

A table linking Item list columns to Data source columns. Each mapping row consists of an Item list column field (the cell whose value will be set) and a Data source column field (the column the new value is taken from). The Add button adds another mapping row, and the trash icon removes an existing one. If an Item list column is not mapped, it is skipped when values are set.

Unlike the Update item list values action, this action's configuration window does not include fields for mapping a unique value — since the action replaces the entire content of the Item list, no key is needed to match rows to each other.

info

For further details, refer to the article Actions on the Item list on our technical blog.