Add work items from table
Add one item per table row (columns become fields), optionally with a reference column and tags.
Command in the Work queues toolkit · id ooa.workload/add_items · 6 inputs (2 required), 2 outputs
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Queue | String | Yes | Queue name. | |
| Table | Table | Yes | Rows to add. | |
| Reference column | String | No | The column that holds each row's reference (unique in the queue); it stays a field too. | |
| If exists | String | No | error | When a row's reference is already in the queue: error stops (nothing is added), skip leaves it out, update changes that item. |
| Tags | List | No | Labels every new item gets. | |
| Central | Boolean | No | false | Use the One CommandCenter queue with this name instead of the workspace's own file (runs started from One CommandCenter only). |
Outputs
| Output | Type | What it is |
|---|---|---|
| count | Number | Items added (or updated). |
| skipped | Number | Rows left out because their reference was there and if_exists is skip. |