Skip to content

UpdateSetting topic

This instruction requests the node to update a configurable runtime setting value. If the setting does not exist, it will be added.

{
    "nodeId": 123,
    "topic": "UpdateSetting",
    "parameters": [
        {"name": "key", "value": "k1"},
        {"name": "type", "value": "t1"},
        {"name": "value", "value": "newvalue"}
    ]
}
{
    "nodeId": 123,
    "topic": "UpdateSetting",
    "params": {
        "key": "k1",
        "type": "t1",
        "value": "newvalue"
    }
}

Parameters

The following instruction parameters are available:

Parameter Description
executionDate A future execution date. See deferred instructions for more details.
key The Settig key.
type The Settig type.
value The Settig value.
flags The optional Settig flags.

Result

A Completed state indicates the node will update the platform.