thing.attr.find Action

This trigger action will find a thing's attribute.

Action

This trigger action is found under the Thing heading.

Canvas

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.

Form

Parameters

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.

Action variable

Name

Type

Description

$(action.X.value)

String

The value of the attribute.