AppendAction

ArrayActions. AppendAction

An action "append" that can append an 'item' or a number of 'items' to an array, the array can be from either a property or a variable

Constructor

new AppendAction()

Source:
Examples
// Append a string item to an array inside a property
{
    "append": {
        "to": {"property": "myStringArrayProperty"},
        "item": "myStringItem"
    }
}
// Append a string item to an array inside a property, on a non selected concept
{
    "append": {
        "to": {"property": "myConcept.myStringArrayProperty"},
        "item": "myStringItem"
    }
}
// Append a string item to an array inside a variable
{
    "append": {
        "to": {"variable": "myStringArrayVariable"},
        "item": "myStringItem"
    }
}
// Append a number of string items to an array inside a variable
{
    "append": {
        "to": {"variable": "myStringArrayVariable"},
        "items": ["myStringItem1", "myStringItem2"]
    }
}