Skip to main content
Roberty Studio
RPAList

Add record

Add record

Adds a new record to a list created with the Create new list action. The record can be identified by an optional key to make it easier to retrieve it later with Get record.


Options​

List ID​

Reference to the Create new list action where the record will be added.

Value, text or variable​

The value to be stored in the list. It can be text, a number, an object or the return of another action.

Key​

Optional identifier for the record, used later to retrieve or remove the item by name. Optional field.

Returns​

Javascript code​

js
actions["action-id"].value // value stored in the list (Any)
actions["action-id"].key // key of the record stored (Text)

Field selection​

  • value — value stored in the list (Any)
  • key — key of the record stored (Text)

Rules and Conditions​

  • The List ID and Value fields are required.
  • The Key field is optional. If it is not provided, the record is added without a key identifier.
  • Records without a key can only be retrieved with the Get all values action.
  • It is possible to add multiple records with the same key; in that case, all of them are stored in the list.