Displaying arguments on Event Rule reports
Display arguments on reports based on Event Rules just adding them on the notification section.
This guide shows you how to easily add up to 4 different arguments on reports based on Event Rules for GpsGate Server version 4.0
New notification feature
When generating an EV1000 report based on an Event Rule you might need to display some variables to better understand that report or just to include some more information, like temperature that triggered the event or max speed during the event.
With GpsGate Server version 4.0 we present a new notification feature on the Event Rules called “Report Argument” that allows you to just add the variables and they will be displayed on the reports.
The best way to understand this new feature is using an example, so let´s think we want to obtain a report based on the typical speeding event rule. When we generate the EV1000 report, we will get the usual information, but now we can easily include the speed that triggered the event and the max speed for example, just adding this 2 notifications:
Then we don´t need to do any changes at all on the report and when we generate it the result would look like this:
Here is a list of variables you can add. For example [DRIVER_NAME]
With GpsGate Server 4.0 you can use the Report Argument notification on the Event Rules. There are 4 functions that you can include in order to get more information: $MAX, $MIN, $START and $END. By default the value that the variable gets is the one that triggers the event which would be the $START function. In order to use them just add them on the Report Argument when selecting the variable according to the convention: $FUNCTION([VARIABLE]).
Discuss this blog post on the forum please