Event Rules wizard, a step-by-step guide

This guide details the Event Rule wizard and its different options. Below is a step-by-step guide on how to use this tool.

Read the event rules introduction here.

Creating a new Event Rule:

To create a new rule, go to Admin > Event Rules 

mceclip0.png

Then select + Custom Event Rule button

Screenshot 2024-03-06 at 11.40.14.png

There is a drop-down menu that can assist you in creating a Speeding event rule in a few seconds:

Screenshot 2024-03-06 at 11.42.30.png

Create a Speeding event rule

Create a Custom event rule

 

Speeding event rule: 

You will be just three questions away from gaining a better understanding of your fleet.

Screenshot 2024-03-06 at 11.47.25.pngScreenshot 2024-03-06 at 11.47.31.png

Screenshot 2024-03-06 at 11.47.34.png

Congratulations! The speed event has been successfully established. Click on the event rule name in the final pop-up or on Event Rules, and the window displaying your events will open.

Screenshot 2024-03-06 at 11.47.41.png

Events rules window: 

The button will toggle between the Speeding event rule and the Custom event rule based on your most recent selection or click. Utilize the dropdown menu to opt for a different option.

Screenshot 2024-03-06 at 11.52.11.png

Custom event rule wizard:

1. Rule name and description

The first step is to name your rule. We recommend using a name that describes what the rule will do, in short.

mceclip0.png

  • Enabled: Yes/No - This option sets the event rule to active or inactive for live events, more info about live or buffered data here.

2. Who this rule applies to

Select which user tags you want this rule to work for. If you don't select any tags in this step, the event rule will apply to all your units in the application.

mceclip2.png

3. Schedule rule activity

If you select Activate on schedule, you can set this event rule to be triggered only under the specified dates/times. Otherwise, the rule is active at all times.

mceclip3.png

4. Expressions

The expressions define which conditions trigger the event rule. There are many conditions that could be used and you can add more than one at the same time.

mceclip0.png

Expression Description More info
Analog Expression Suitable for evaluating analog signals (e.g. Speed, Temperature, etc.) -
Digital Expression Suitable for evaluating digital signals (e.g. SOS, Ignition, Door open, etc.) -
Driver ID in Tag Suitable for evaluating if a Driver ID is included in a specific tag link
Driver ID Login Suitable for evaluating Driver ID events link
Geofence Expression Suitable for evaluating geofence-related activity link
Http Expression Suitable for generating HTTP events to an external system link
Offline expression Suitable for evaluating when a unit goes offline link
Points Of Interest Suitable for evaluating POI-related activity link
Rendezvous Suitable for evaluating if a vehicle is near another link
Script Expression Suitable for evaluating complex scenarios using scripting link
Speeding Expression Suitable for evaluating over-speeding link
String compare Suitable for evaluating strings upon receiving messages -

 

mceclip2.png

  • Show advanced options: sets a value that will end the initial expression. This is best when you want to use a different ending condition than the initial expression that triggers the rule.
  • Delayed event: you can specify the number of minutes before an event triggers. This is useful for avoiding having many notifications at once if an expression is met repeatedly in a short period.
  • Automatically trigger the event after the delay specified above as the events are triggered on incoming data only, this option forces triggering the alert after a specific number of minutes despite not receiving new data. For instance, if you have a 3-minute delay set, and the messages from the device are sent in 5-minute intervals, it will take up to five minutes before the condition is fulfilled and a notification is generated. Use this option only if strictly necessary. 

5. Notifications

Notifications define how you want to get notified when the expression/s in step 4, have been met. You can add more than one notification method for each event rule.

mceclip1.png

Notification Description More info
Driver ID Generates a notification when a Driver ID event is detected link
Argument Generates a notification of the type argument. Arguments could be used to visualize variables in certain areas of the workspace and some panels in the application. -
Command Generates a notification of the type command to be sent to devices link
Email Generates a notification via email link
Email Self Generates a notification to the associated email of the user that generated it. -
SMS Generates a notification of the type of SMS link
SMS Self Generates a notification to the associated phone number of the vehicle that generated the event -
Icon Generates a notification as an icon on the vehicle tracker interface link
Text Generates a notification as text on the vehicle tracker interface link
Report Argument Generates a notification as a report argument to be used in reports link
Maintenance Reminder Alert Generates a notification when vehicle maintenance is about to be due. To be used with the Maintenance plugin. link
Tag Notifier Generates a notification as a Tag notifier link
RabbitMQ Generates a notification to be used with the RabbitMQ plugin link
Variable Generates a notification of the type variable link
Fleet app Generates a push notification to be used with the mobile Fleet app link

 

6. Presentation

Within Presentation settings, you can configure how the alert is made visible, either on the map or in the Events panel.

mceclip1.png

  • Show in map view: enable to display of the event rule on the map and in panels (e.g. Events, Tracks, etc.)
  • Close behavior: Choose whether an alert is manually or automatically closed in the event panel. The alert closes automatically when the 4. Expression is no longer true.
  • Comment on close: controls whether or not you have to add a comment before manually closing the event in the event panel. More info about comments here.
  • Sound: enable to generate a sound when the alert is triggered. This option requires the Sound plugin. More info about sound alerts is here.

mceclip0.png