Duplicate Alerts

3183
3
Jump to solution
12-30-2015 03:02 PM
KevinHatch
New Contributor III

I am polling a feature service in Geo Event every second.  This information is being output as a stream.  I also have it initiating email notifications when certain parameters are met.  My challenge is that each output is triggered every second.  This includes alerts such as emails.  I have two questions.

  1. I understand that you can insert a filter and use the operator 'entered' to limit the alert to triggering the first time the equation is met.  However, 'entered' is only available for geometry based equations.  As an example, I am attempting to use an equation 'LastStatus' = 'Dispatched'.  As soon as a resource enters 'Dispatched' the email alert fires every second until the unit moves to the next status.  Is there a way to have the alert generate as soon as the unit enters dispatch but never again after that?
  2. I have a stream designating event locations.  However, it adds a new point reference every second even if it is a duplicate to the previous entry.  I have 'enforce unique track ID' selected on the stream output.  I have assigned the unique event number as the track ID.  But that doesn't seem to avoid duplicates.  My assumption is that I insert an Incident Detector to close old records but I haven't been able to get this to work.  Does anyone have any ideas?

Thanks!

0 Kudos
1 Solution

Accepted Solutions
KevinHatch
New Contributor III

I managed to solve this issue with the following sequence

INPUT > FILTER ON ATTRIBUTE > FILTER ON GEOMETRY (use expression 'Entered') > OUTPUT

For Geometry we created a single polygon that covers the area we are working in and used that as a geofence.  Note, you need to configure the filters separately and include the geometry based filter after the attribute based one. 

View solution in original post

3 Replies
KevinHatch
New Contributor III

Let me simplify my question.  We track a resource using Geo Event extension. The first time that resource enters the status of 'DISPATCHED' I want to send an email alert.  I only want to send the email the first time the status is reached, not continuously. 

How would I do that? 

Thank you

0 Kudos
KevinHatch
New Contributor III

I managed to solve this issue with the following sequence

INPUT > FILTER ON ATTRIBUTE > FILTER ON GEOMETRY (use expression 'Entered') > OUTPUT

For Geometry we created a single polygon that covers the area we are working in and used that as a geofence.  Note, you need to configure the filters separately and include the geometry based filter after the attribute based one. 

MiriEshel
New Contributor III

Hi Kevin,

Have you ever solved the problem with the duplicate entries? I also enforced 'unique track ID' selected on the stream output.  I have assigned the unique event number as the track ID.  But that doesn't seem to avoid duplicates.

Thanks,

Miri

0 Kudos