I have a list like {1,2,3,4}, I want to add new items like {1,2,3,4,5,6,.....} in the same list without using a new variable to store the new list.
Discussion posts and replies are publicly visible
In Appian Variables are designed to be permanent once created - you can't alter them after initialization. To make changes, you must build a brand new variable that incorporates your modifications while leaving the original intact.Hope you are expecting this when you want to append list...
a!localVariables( local!originalList: { 1, 2, 3, 4 }, local!listToAppend: { 5, 6, 7, 8, 9, 10 }, { local!originalList, local!listToAppend } )