To create the GeoEvent Service used in the Leak Logger Analysis, log into ArcGIS GeoEvent Manager. Then, follow the steps to create the GeoEvent Service.
LeakLoggerUpdate-Notification
-
Add a new GeoEvent Service with the following properties:
- Service Name: LeakLoggerUpdate-Notification
- Service Description: This service monitors updates Logger Areas and sends an email when a leak is reported.
- Add the LeakLogger-Input input connector.
- Add the following outputs connectors:
- LeakLogger-Output
- LoggerArea-Output
- LeakLoggerLeak-Email
-
Add a Processor:
Parameter Value Name Remove Fields Status Processor Field Reducer Fields to Remove OBJECTID, ASSET, ADDRESS, SURVDATE, INTENSITY, SPREAD, LOGSER, LOGNUM, COMMENTS, FACILITYKEY, NOTISENT, LENMAIN, LENLATERAL, LENTOTAL, created_user, created_date, last_edited_user, last_edited_date, geometry New GeoEvent Definition Name LoggerAreaUpdateStatus -
Add a Filter:
- Name: Needs Notification
Query And/Or NOTISENT != Yes And STATUS = Leak Present -
Add a Processor:
Parameter Value Name ProjectToWGS Processor Projector Geometry Field GEOMETRY Replace Geometry Yes WKID 4326 -
Add a Processor:
Parameter Value Name Get Extent Processor Geometry Extent Enricher Processor New GeoEvent Definition Name loggerWithExtent Include Center Point Yes -
Add a Processor:
Parameter Value Name Remove Fields Notification Processor Field Reducer Fields to Remove OBJECTID, ASSET, ADDRESS, SURVDATE, INTENSITY, SPREAD, LOGSER, LOGNUM, COMMENTS, FACILITYKEY, STATUS, LENMAIN, LENLATERAL, LENTOTAL, created_user, created_date, last_edited_user, last_edited_date, geometry New GeoEvent Definition Name LoggerAreaUpdateNoti -
Add a Processor:
Parameter Value Name Update Notification Field Processor Field Calculator Expression 'Yes' Target Field Existing Field Existing Field Name NOTISENT - Connect the elements in the GeoEvent Service.
- Publish the service.