Add to End

Add an item to the last position of a list.

You can use this function card on lists of any type. Make sure to set all fields to the same type. For example, to process a list of strings, set both the list and item fields to type text.

Input

Field Definition Type Required
list Input list to whose last position an item is added. List of Objects FALSE
item Item of a specified type that is added to a list. Object TRUE

Output

Field Definition Type
list New list which comprises the values from the list input with the value from item added to its last position. Object

Related topics

About lists

Functions in Workflows

About the elements of Okta Workflows