[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-29 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eAPPEND_ELEMENT\u003c/code\u003e function adds a new element to an existing JSON array.\u003c/p\u003e\n"],["\u003cp\u003eThis function accepts a single input parameter which is the value you want to append to the JSON array.\u003c/p\u003e\n"],["\u003cp\u003eIt only supports JSON data types as an input.\u003c/p\u003e\n"],["\u003cp\u003eThe return value of this function is the updated JSON array, now containing the new element.\u003c/p\u003e\n"],["\u003cp\u003eAn example of appending "fifth" to \u003ccode\u003e$var1$ = ["first", "second", "third", "fourth"]\u003c/code\u003e would output \u003ccode\u003e["first", "second", "third", "fourth", "fifth"]\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# APPEND_ELEMENT function\n\nSee the [supported connectors](/integration-connectors/docs/connector-reference-overview) for Application Integration.\n\nAPPEND_ELEMENT function\n=======================\n\n`APPEND_ELEMENT` function\n-------------------------\n\nSupported data type\n-------------------\n\n\nThe `APPEND_ELEMENT` function supports the following data type:\n\n- JSON\n\nExample: Append an element to a JSON array\n------------------------------------------\n\n\n**Sample data** : `$var1$ = [\"first\", \"second\", \"third\", \"fourth\"]`\n\n\n**Usage** : `$var1$.APPEND_ELEMENT(\"fifth\")`\nAppend element `fifth` to `var1`.\n\n\n**Output** : `[\"first\", \"second\", \"third\", \"fourth\", \"fifth\"]`.\n\nRecommendation\n--------------\n\n- Learn how to add and configure a [Data Mapping task](/application-integration/docs/configure-data-mapping-task)"]]