<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Geoevent send an Email - loop through events? in ArcGIS GeoEvent Server Questions</title>
    <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/geoevent-send-an-email-loop-through-events/m-p/612377#M2668</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Working on a service that sends an email to a list of users essentially giving them a list of permits in a specified area (Similar to the City of New Orleans 'NoticeMe' application).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have a chunk of the work done, but our data is set up in a way that I can't get to work with GeoEvent email output -&amp;nbsp;&lt;/P&gt;&lt;P&gt;basically it sends 1 email per email address/permit combination, whereas we'd like to roll up each permit into a single email per email address.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's an example of our data:&lt;/P&gt;&lt;TABLE width="433"&gt;&lt;TBODY&gt;&lt;TR style="height: 25px;"&gt;&lt;TD style="height: 25px;" width="95"&gt;OBJECTID&amp;nbsp;&lt;/TD&gt;&lt;TD style="height: 25px;" width="146"&gt;PERMIT_NUMBER&lt;/TD&gt;&lt;TD style="height: 25px;" width="192"&gt;EMAIL&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 25px;"&gt;&lt;TD style="height: 25px;"&gt;1&lt;/TD&gt;&lt;TD style="height: 25px;"&gt;A-1234&lt;/TD&gt;&lt;TD style="height: 25px;"&gt;&lt;A href="mailto:user1@email.com"&gt;user1@email.com&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 25px;"&gt;&lt;TD style="height: 25px;"&gt;2&lt;/TD&gt;&lt;TD style="height: 25px;"&gt;A-1235&lt;/TD&gt;&lt;TD style="height: 25px;"&gt;&lt;A href="mailto:user1@email.com"&gt;user1@email.com&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 25px;"&gt;&lt;TD style="height: 25px;"&gt;3&lt;/TD&gt;&lt;TD style="height: 25px;"&gt;A-1236&lt;/TD&gt;&lt;TD style="height: 25px;"&gt;&lt;A href="mailto:user1@email.com"&gt;user1@email.com&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 25px;"&gt;&lt;TD style="height: 25px;"&gt;4&lt;/TD&gt;&lt;TD style="height: 25px;"&gt;A-1237&lt;/TD&gt;&lt;TD style="height: 25px;"&gt;&lt;A href="mailto:user2@fakemail.biz"&gt;user2@fakemail.biz&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 25px;"&gt;&lt;TD style="height: 25px;"&gt;5&lt;/TD&gt;&lt;TD style="height: 25px;"&gt;A-1238&lt;/TD&gt;&lt;TD style="height: 25px;"&gt;&lt;A href="mailto:user2@fakemail.biz"&gt;user2@fakemail.biz&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 25px;"&gt;&lt;TD style="height: 25px;"&gt;6&lt;/TD&gt;&lt;TD style="height: 25px;"&gt;A-1239&lt;/TD&gt;&lt;TD style="height: 25px;"&gt;&lt;A href="mailto:user2@fakemail.biz"&gt;user2@fakemail.biz&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the 2 email addresses here, as currently configured, get 3 emails each.&amp;nbsp; Wondering if this can be handled in GeoEvent or if we need to work on 'flattening' the data for use in the GEV service - this would result in a really ugly and tricky to work with string field - can be done in python I'm fairly certain but figured I'd check the hive brain and see if this scenario has come up for anyone.&lt;/P&gt;&lt;P&gt;I'm experimenting with a field enricher where a table of email addresses joins to the permit data as seen above, but no luck yet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks -&amp;nbsp;&lt;/P&gt;&lt;P&gt;Allen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Jan 2018 22:43:35 GMT</pubDate>
    <dc:creator>AllenScully</dc:creator>
    <dc:date>2018-01-08T22:43:35Z</dc:date>
    <item>
      <title>Geoevent send an Email - loop through events?</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/geoevent-send-an-email-loop-through-events/m-p/612377#M2668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Working on a service that sends an email to a list of users essentially giving them a list of permits in a specified area (Similar to the City of New Orleans 'NoticeMe' application).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have a chunk of the work done, but our data is set up in a way that I can't get to work with GeoEvent email output -&amp;nbsp;&lt;/P&gt;&lt;P&gt;basically it sends 1 email per email address/permit combination, whereas we'd like to roll up each permit into a single email per email address.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's an example of our data:&lt;/P&gt;&lt;TABLE width="433"&gt;&lt;TBODY&gt;&lt;TR style="height: 25px;"&gt;&lt;TD style="height: 25px;" width="95"&gt;OBJECTID&amp;nbsp;&lt;/TD&gt;&lt;TD style="height: 25px;" width="146"&gt;PERMIT_NUMBER&lt;/TD&gt;&lt;TD style="height: 25px;" width="192"&gt;EMAIL&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 25px;"&gt;&lt;TD style="height: 25px;"&gt;1&lt;/TD&gt;&lt;TD style="height: 25px;"&gt;A-1234&lt;/TD&gt;&lt;TD style="height: 25px;"&gt;&lt;A href="mailto:user1@email.com"&gt;user1@email.com&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 25px;"&gt;&lt;TD style="height: 25px;"&gt;2&lt;/TD&gt;&lt;TD style="height: 25px;"&gt;A-1235&lt;/TD&gt;&lt;TD style="height: 25px;"&gt;&lt;A href="mailto:user1@email.com"&gt;user1@email.com&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 25px;"&gt;&lt;TD style="height: 25px;"&gt;3&lt;/TD&gt;&lt;TD style="height: 25px;"&gt;A-1236&lt;/TD&gt;&lt;TD style="height: 25px;"&gt;&lt;A href="mailto:user1@email.com"&gt;user1@email.com&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 25px;"&gt;&lt;TD style="height: 25px;"&gt;4&lt;/TD&gt;&lt;TD style="height: 25px;"&gt;A-1237&lt;/TD&gt;&lt;TD style="height: 25px;"&gt;&lt;A href="mailto:user2@fakemail.biz"&gt;user2@fakemail.biz&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 25px;"&gt;&lt;TD style="height: 25px;"&gt;5&lt;/TD&gt;&lt;TD style="height: 25px;"&gt;A-1238&lt;/TD&gt;&lt;TD style="height: 25px;"&gt;&lt;A href="mailto:user2@fakemail.biz"&gt;user2@fakemail.biz&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 25px;"&gt;&lt;TD style="height: 25px;"&gt;6&lt;/TD&gt;&lt;TD style="height: 25px;"&gt;A-1239&lt;/TD&gt;&lt;TD style="height: 25px;"&gt;&lt;A href="mailto:user2@fakemail.biz"&gt;user2@fakemail.biz&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the 2 email addresses here, as currently configured, get 3 emails each.&amp;nbsp; Wondering if this can be handled in GeoEvent or if we need to work on 'flattening' the data for use in the GEV service - this would result in a really ugly and tricky to work with string field - can be done in python I'm fairly certain but figured I'd check the hive brain and see if this scenario has come up for anyone.&lt;/P&gt;&lt;P&gt;I'm experimenting with a field enricher where a table of email addresses joins to the permit data as seen above, but no luck yet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks -&amp;nbsp;&lt;/P&gt;&lt;P&gt;Allen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jan 2018 22:43:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/geoevent-send-an-email-loop-through-events/m-p/612377#M2668</guid>
      <dc:creator>AllenScully</dc:creator>
      <dc:date>2018-01-08T22:43:35Z</dc:date>
    </item>
  </channel>
</rss>

