Create a Trigger Based on an Entity (Classic)

This topic describes how to create a trigger based on conditions on values stored in an entity.

Before you begin

Log in to Operations Hub.

About this task

You can also create a trigger based on conditions on values received from a device.

Procedure

  1. Access the event for which you want to create a trigger.
  2. Select Add Entity Condition.
    The Entity and Condition sections appear.
  3. In the Entity Name box, select the entity based on which you want to create a trigger.
    In the Entity Field box, a list of fields in the selected entity appears.
  4. In the Entity Field, Operator, and Value boxes, select values that you want to use in the trigger.
    If you want to create a trigger if the temperature recorded in the entity exceeds 40 degrees Celsius, then in the Entity Field, Operator, and Value boxes, select or enter Temperature, >, and 40, respectively.
  5. If you want to allow the end user to set the value manually, then select the Allow End User to set value check box, and then enter a value in the Input Name box.
    If you want to create a trigger when the temperature stored in the entity field reaches a certain limit, and you want application users to specify that limit, then:
    1. In the Input Name box, enter Maximum Temperature.
    2. In the application, add an event settings widget, and then select the event that you have created.

      In the application, the widget contains an input field labeled Maximum Temperature, which allows the user to change the value that you have specified in the event.

  6. If there is more than one condition, and if you want to create a trigger only if all the conditions are satisfied, select Meet ALL of the conditions. By default, this option is selected. If, however, you want to create a trigger if at least one of the conditions is satisfied, select Meet ANY of the conditions.

What to do next

Create an action.