PROCESIO
OverviewPlatform ActionsIntegrations & DemosMarketplaceCustom ActionsDeveloperโ€™s Guide

Lists

Actions that create, read, change, sort, filter and summarise lists.

The List folder of the Process Designer toolbox holds the actions that work on lists: simple lists of text, numbers or true/false values, and lists of data models (JSON objects). Lists are entered as JSON, for example [1,2,3] or ["a","b"]. Unless a page says otherwise, positions (indexes) start at 0.

Numeric

ActionWhat it does
SumAdds up all the numbers of a list.
MaxReturns the largest number.
MinReturns the smallest number.
MedianReturns the middle value.
Arithmetic MeanReturns the average.

Read and change a list

ActionWhat it does
AddAppends an element to the end of a list.
RemoveRemoves the first occurrence of a value.
ContainsReturns true if the list contains a value.
Get IndexReturns the position of a value, or -1.
Get ElementReturns the element at a position.
Has ElementsFails the step if the list is empty.
LengthReturns the number of elements.
SublistReturns a slice of the list.
First N ElementsReturns the first N elements, optionally sorted.
Last N ElementsReturns the last N elements, optionally sorted.
ConcatenateJoins two lists into one.
List To StringConverts a list to JSON text.

Sort, filter and clean up

ActionWhat it does
SortSorts a simple list ascending or descending.
Sort Data ModelSorts a list of data models by one or more fields.
Simple FilterFilters a simple list with one rule.
FilterFilters a list of data models with field rules.
DeDuplicateFinds duplicates in a simple list.
Find DuplicatesFinds duplicate records in a list of data models.
Similarity SearchFinds the values most similar to a text.

On this page