SetAction

PropertyActions. SetAction

An action "set" that sets a property or variable to a given value

Constructor

new SetAction()

Source:
Examples
//Set property to a given value
{
    "set": {
        "property": "myProperty",
        "value": "myValueToSet"
    }
}
//Set property to a given value (shorthand version)
{
    "set": {
        "myProperty": "myValueToSet"
    }
}
//Set variable to a given value (shorthand version)
{
    "set": {
        "$myVariableName": "myValueToSet"
    }
}
//Set a variable to a given value
{
    "set": {
        "variable": "myVariableName",
        "value": "myValueToSet"
    }
}
//Set a property on a currently non selected concept to a given value
{
    "set": {
        "property": "myConcept.myProperty",
        "value": "myValueToSet"
    }
}