append-to-list
Last updated
Last updated
append-to-list
adaptor adds a single new value to the end of an existing list, or to a new list if the list
input is not specified.
If you wish to add a value to the beginning of a list, use the adaptor. If you wish to add multiple values, use the adaptor.
list
Type: list
Required: No
The list to which the values will be appended. If not specified, the value will be added to a new list.
value
Type: text
Required: Yes
The value to be appended to the list.
list
Type: list
A list with the value appended.
value
:
blue
list
:
blue
-> Added value blue
to the end of a new list.
list
:
red
green
value
:
blue
list
:
red
green
blue
-> Added value blue
to the end of an existing list.
Add a new species to a list of reportable illnesses.
Adding new values to lists allows for adjustment of included values without modifying the original dataset.
Users might need to dynamically add new values to a list based on changing programme priorities or newly mapped values, or missed/forgotten values to include.
Allows for users to include additional observations, experiment with different scenarios, or respond to changes in the data.
Lists are often used to keep track of records or historical data. Adding new values ensures that the record is comprehensive and up-to-date.
After using the adaptor, add a missing element to the end of the list.