This is what appears in the "Edit User" dialog:
Each event category is associated with three separate rules: One for email notification, one for SMS notification, and one for display on map (which is active for all options except "disabled").
Here is an example of the Script Expression used for the latter case:
Code: Select all
var tSpeed = session.user.getCustomFieldValue ('Speeding Alert'); //Alert category type
var limit = session.user.getCustomFieldValue ('Speed Limit (mph)');
var vSpeed = fields.get('Speed', null)*2.23694; //Adjust for mph
if(tSpeed != 'Disabled' && vSpeed > limit) return true;