thing.attr.set action

This trigger action will set a value to a thing's attribute.


This trigger action is found under the Thing heading.


When dragged onto the canvas, the appearance of the action is a rectangle with two routing points.

The left routing point (red) is the failure route. This route will be taken if there is an error during execution.

The right routing point (green) is the success route. This route will be taken if action executes successfully.



Name Type Required Description
Thing key String Yes Identifies the thing for which the attribute is to be retrieved. It can be the thing key associated with the trigger event: $(event.thing.key).
Attribute key String Yes Identifies the attribute of the thing the be retrieved.
Value String Yes The value to set to the thing's attribute.
Republish Bool By default, if the published value is the same as the current value, a new record will not be added. Set to true to force the record of the value to be added. If not set, the default value is false.