property.current Action

This trigger action will retrieve the current timestamp and value of the property key specified in the action.

Action

This trigger action is found under the Property 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

Descriptions

Thing key

String

Yes

Identifies the thing to which the property data is associated. It can be the thing key associated with the trigger event: $(event.thing.key).

Property key

String

Yes

The key for the property that you wish to retrieve. It can be the prop key associated with the trigger event: $(event.prop.key).

Timestamp

String

 

The timestamp the current value should be associated to. Will default to the thing's current time if not provided.

Action variables

Name

Type

Description

$(action.X.ts)

String

Timestamp for the given value.

$(action.X.value)

Float

The current value for the requested property.