About Events
In Operations Hub, you can create events that will trigger actions when specific conditions are satisfied. To create an event, you must create a trigger and then create an action.
- Trigger: When you create a trigger, you define the set of conditions that must be satisfied for the event to happen. You can create a trigger based on conditions on values added or updated in an entity or values received from a device.
- Action: When you create an action, you define what should happen if the conditions specified in the trigger are satisfied (that is, when the event is triggered). You can create one or more of the following actions:
- Send an email: You can create an action to send an email when the event is triggered. You can enter the email addresses manually, fetch them from a query, or allow application users to specify the email addresses.
- Run a query: You can create an action to run a query when the event is triggered.
- Send a command to a device: You can create an action to send a command to a device when the event is triggered. Before you do so, you must configure IQP MQTT to communicate with the device to which you want to send a command.
Creating an event in the event editor only creates a template for the event. It does not activate the event. The event is activated when a notifier is added and turned on in an event settings widget in an application.