[[["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\u003eSET\u003c/code\u003e function updates the value of a specified index within a string array, replacing the existing value.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSET\u003c/code\u003e function requires two arguments: the index (integer) to be updated and the new string value.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSET\u003c/code\u003e function can operate on Boolean, Double, Integer, and String array data types.\u003c/p\u003e\n"],["\u003cp\u003eAn example of usage shows updating a string array named \u003ccode\u003e$var1\u003c/code\u003e at index 2 to change from \u003ccode\u003e{"Hello","World","Integrations"}\u003c/code\u003e to \u003ccode\u003e{"Hello","World","Apigee"}\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# SET function\n\nSee the [supported connectors](/integration-connectors/docs/connector-reference-overview) for Application Integration.\n\nSET function\n============\n\n`SET` function\n--------------\n\nSupported data type\n-------------------\n\n\nThe `SET` function supports the following data types:\n\n- Boolean array\n- Double array\n- Integer array\n- String array\n\nExample: Update the value of a string array at an index\n-------------------------------------------------------\n\n\n**Sample data** : `$var1$ = {\"Hello\",\"World\",\"Integrations\"}`\n\n\n**Usage** : `$var1$.SET(2,\"Apigee\")`\nUpdate var1 at index 2.\n\n\n**Output** : `{\"Hello\",\"World\",\"Apigee\"}`\n\nRecommendation\n--------------\n\n- Learn how to add and configure a [Data Mapping task](/application-integration/docs/configure-data-mapping-task)"]]