property.publish Action

This trigger action will publish a property to Device Cloud.

Action

This trigger action is found under the Property heading.

To access the property.publish trigger action:

On the Adding Trigger page, under Property, drag the property.publish to the canvas.

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 to which the published property is to be associated. It can be the thing key associated with the trigger event: $(event.thing.key).

Timestamp

String

 

The date and time of the property to be published.

Property key

String

Yes

Identifies the property to publish.

Value

Float

Yes

The value of the property to publish. For more information regarding action variables, see alarm.current action.

Correlation ID

String

 

A string used to identify related data objects.