FEEL

append

FEEL built-in function · FEEL list functions

append(list, item…)

Returns a new list with the items added to the end.

Parameters

ParameterTypeDescription
listlistthe source list
itemanyone or more values to add at the end

Examples

append([1], 2, 3)
[1, 2, 3] Try it ↑

Edge cases and null handling

append([1], [2])
[1, [2]] Try it ↑

A list argument is added as one nested element. Use concatenate to join lists.

append([1], null)
[1, null] Try it ↑

Null is a valid element.

Related functions

insert before · concatenate

Defined by the OMG DMN 1.6 specification, chapter 10.3.4 (built-in functions).