See the supported connectors for Application Integration.

APPEND_ELEMENT function

APPEND_ELEMENT function

Function Name Description Usage Input parameter Return value
APPEND_ELEMENT Appends an element to a JSON array. APPEND_ELEMENT(value) Value to append. JSON array with the appended element.

Supported data type

The APPEND_ELEMENT function supports the following data type:

  • JSON

Example: Append an element to a JSON array

Sample data: $var1$ = ["first", "second", "third", "fourth"]

Usage: $var1$.APPEND_ELEMENT("fifth")

Append element fifth to var1.

Output: ["first", "second", "third", "fourth", "fifth"].

Recommendation