Rules
Rules allow users to automatically monitor their Things for exceptional situations. A Rule record defines the attributes of the monitoring policy and, when an exception is detected, the Rule creates an Event and (optionally) notifies Users or Non-Users that the exception took place. The resulting record is called an ‘Event’ in ThingTech.
Rules vary based on the specific configuration of your ThingTech application, however, all Rules will define specific attributes required to process the Rule and create Events. Some examples of monitoring attributes include:
Message Values: When the device reports specific message values, create an Event / Notify.
Thresholds: When a message or series of messages value exceeds a threshold, create an Event / Notify.
Location: When a message or series of messages occurs within or outside of a specific Geofence, create an Event / Notify
Duration: When a message or series of messages occur for a specified duration, create an Event / Notify.
Any combination of the above.
In addition, a Rule can specify a specific Action to take upon generation of the Event record. In most use cases, the only Action available is to send a Notification to a list of Email addresses
Note: A Rule does NOT have to specify emails on the Rule itself for Users to receive a Notification. Alternatively, Users themselves can ‘Subscribe’ to Notifications via the ‘Notifications Settings’ in the top right menu of the application. In order to subscribe to specific notifications, Users must be granted access to the Rule via Permissions tab - i.e. either by User Group membership or by Role membership.
How to Create Rules
1. Navigate to Admin tab > Rules
Select ‘+Create New’
2. Select the Rule Type
3. Enter appropriate information in the fields provided. Any field marked with an asterisk indicates it is a required field.
4. Select Things you want to assign to the Rule. By checking the top check box, you can assign Rule to all Things listed. Once you’ve selected the Things you want to assign to the Rule, select ‘Save’ in the top right corner.
Edit
1. Navigate to Admin > Rules
a. Click on the green hyperlinked name of the Rule to be edited
2. Select Edit
3. Edit any field necessary
a. Select ‘Save’ at the top right