<?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 Send email output - get recipients from feature layer in ArcGIS GeoEvent Server Questions</title>
    <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/send-email-output-get-recipients-from-feature/m-p/1030077#M3478</link>
    <description>&lt;P&gt;I wasn't able to find a processor included in GeoEvent Server that meets the following requirement.&amp;nbsp; Hopefully there is a processor available for download that does.&lt;/P&gt;&lt;P&gt;I have an input that polls a feature service.&amp;nbsp; I need this geoevent to trigger an output that sends an email to about 900 recipients.&amp;nbsp; All of the recipient email addresses are stored in a hosted feature layer.&amp;nbsp; I was not able to use a geofence in this case because there is no spatial relationship between the new feature that triggers the geoevent and the feature layer that holds all of the recipients.&amp;nbsp; So the scenario is simply this:&lt;/P&gt;&lt;P&gt;Every time a new polygon is added to the input feature service, an email needs to be sent for every record in the feature layer that holds all the recipient data.&lt;/P&gt;&lt;P&gt;Are there any processors or combinations of processors that can meet this need?&lt;/P&gt;</description>
    <pubDate>Wed, 24 Feb 2021 17:12:18 GMT</pubDate>
    <dc:creator>GeoSolver</dc:creator>
    <dc:date>2021-02-24T17:12:18Z</dc:date>
    <item>
      <title>Send email output - get recipients from feature layer</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/send-email-output-get-recipients-from-feature/m-p/1030077#M3478</link>
      <description>&lt;P&gt;I wasn't able to find a processor included in GeoEvent Server that meets the following requirement.&amp;nbsp; Hopefully there is a processor available for download that does.&lt;/P&gt;&lt;P&gt;I have an input that polls a feature service.&amp;nbsp; I need this geoevent to trigger an output that sends an email to about 900 recipients.&amp;nbsp; All of the recipient email addresses are stored in a hosted feature layer.&amp;nbsp; I was not able to use a geofence in this case because there is no spatial relationship between the new feature that triggers the geoevent and the feature layer that holds all of the recipients.&amp;nbsp; So the scenario is simply this:&lt;/P&gt;&lt;P&gt;Every time a new polygon is added to the input feature service, an email needs to be sent for every record in the feature layer that holds all the recipient data.&lt;/P&gt;&lt;P&gt;Are there any processors or combinations of processors that can meet this need?&lt;/P&gt;</description>
      <pubDate>Wed, 24 Feb 2021 17:12:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/send-email-output-get-recipients-from-feature/m-p/1030077#M3478</guid>
      <dc:creator>GeoSolver</dc:creator>
      <dc:date>2021-02-24T17:12:18Z</dc:date>
    </item>
    <item>
      <title>Re: Send email output - get recipients from feature layer</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/send-email-output-get-recipients-from-feature/m-p/1053460#M3528</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/201696"&gt;@GeoSolver&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You could export a list of email addresses to a file and use a Feild Enricher (File) to add the emails to a recipient field. So the file would contain one record "1,&amp;lt;longlistofemails&amp;gt;". Your event would need to have 2 fields added to it 'joinId' and 'emailAddresses'. Use a field calculator to set the 'joinId' field to 1.&amp;nbsp; The Field Enricher (File) to join the email list then joins based on the 'joinId' field (which is set to 1 which matches the first row in the file).&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If the file with all the emails is too hard to maintain (for example if they change often) then you might be able to do the same thing on your feature layer but it might require a relational database.&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;SELECT 1 as OBJECTID, STRING_AGG(email, ';') AS emailAddresses&lt;BR /&gt;FROM Customers;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Not sure what 9,000 emails concatenated together is going to do to GeoEvent.&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Eric&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Apr 2021 22:03:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/send-email-output-get-recipients-from-feature/m-p/1053460#M3528</guid>
      <dc:creator>EricIronside</dc:creator>
      <dc:date>2021-04-30T22:03:40Z</dc:date>
    </item>
  </channel>
</rss>

