addItemToList
A Workflow Engine function that adds an item or items to an array. You can specify more than one value. Does not add duplicate elements to the array, but maintains an array of unique elements. Returns an array of unique items.
This function is available as a feature of the Workflow Engine v1.0 and later.
This function is available for event, alert, and Situation workflows.
Back to Workflow Engine Functions Reference.
Arguments
Workflow Engine function addItemToList
takes the following arguments:
Name | Required | Type | Description |
---|---|---|---|
| Yes | String | Name of the field to add the elements to. If the field does not exist, creates it. |
| Yes | Object | Values of the items to add as an array. |