<?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 Re: Models-This is Result-Thanks. in ArcGIS GeoEvent Server Questions</title>
    <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/models-this-is-result-thanks/m-p/179258#M755</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey &lt;A href="https://community.esri.com/migrated-users/371945"&gt;Abdelhalim Ibrahim&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I understand your question correctly, you would like the output to recognize that each event is a duplicate of the previous one and not send that event.&amp;nbsp; Unfortunately, the OOTB &lt;A href="https://enterprise.arcgis.com/en/geoevent/latest/process-event-data/push-json-to-an-external-website.htm"&gt;Push JSON to External Web Site&lt;/A&gt; does not implement any mechanism to determine if an event is unique or not.&amp;nbsp; Thus, if you have 5,562 events in your input, it will write 5,562 events to your output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The easiest solution would be to deploy the Updates Only Processor and insert that between your input and output.&amp;nbsp; This processor will drop any event with a TRACK_ID+timestamp that&amp;nbsp;is identical to a previous event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/Esri/solutions-geoevent-java/tree/master/solutions-geoevent/processors/updateOnly-processor" title="https://github.com/Esri/solutions-geoevent-java/tree/master/solutions-geoevent/processors/updateOnly-processor"&gt;solutions-geoevent-java/solutions-geoevent/processors/updateOnly-processor at master · Esri/solutions-geoevent-java · Gi…&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have some control over the website you are pushing data to and can accomodate an updated JSON schema, you can create your own GeoEvent Outbound Connector that uses the [Feature] JSON Outbound Adapter (not the Generic JSON Adapter) combined with the HTTP REST Outbound Transport.&amp;nbsp; The Feature JSON Outbound Adapter will utilize the event's TRACK_ID to determine if the event is unique or new (within the update interval setting).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The easiest way to to do this is to make a copy of the existing Push JSON to Exernal Web Site, change the adapter to JSON, and update the parameter/properties appropriately:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/493462_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately your JSON format will change to the Esri Feature Set JSON format (see &lt;A href="https://developers.arcgis.com/rest/services-reference/query-feature-service-.htm"&gt;JSON response example (returnIdsOnly=false and returnCountOnly=false) here&lt;/A&gt;).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 May 2020 19:46:15 GMT</pubDate>
    <dc:creator>EricIronside</dc:creator>
    <dc:date>2020-05-26T19:46:15Z</dc:date>
    <item>
      <title>Models-This is Result-Thanks.</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/models-this-is-result-thanks/m-p/179257#M754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dears, I want to send only one Feature, but every time I send a push services , this Feature will repeat within the environment side that I am sending to . I want to send the features inside the spatial database without repeating it when sending it.&lt;/P&gt;&lt;P&gt;These are the steps that I implement.&lt;/P&gt;&lt;P&gt;I m using geoevent 10.7.1.&lt;/P&gt;&lt;P&gt;the in put connector ( Poll an ArcGIS Server for Features)&lt;/P&gt;&lt;P&gt;the out put connector (Push JSON to an External Website) not using any filter or process.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;This is in put .&amp;nbsp;&lt;/STRONG&gt;&lt;IMG __jive_id="491055" alt="in put connectors" class="jive-emoji image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/491055_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Geoevent Services&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="491057" alt="" class="image-3 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/491057_3.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;out put connectors&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="491056" alt="out put connectors" class="image-2 jive-image" height="405" src="https://community.esri.com/legacyfs/online/491056_2.png" width="721" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-size: 18.0pt;"&gt;&lt;STRONG&gt;This is Result&amp;nbsp;data duplicated&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-size: 18.0pt;"&gt;&lt;STRONG&gt;&lt;IMG __jive_id="491058" alt="Result data duplicated " class="jive-emoji jive-image image-4 j-img-original" src="https://community.esri.com/legacyfs/online/491058_4.png" /&gt;Thanks.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2020 19:08:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/models-this-is-result-thanks/m-p/179257#M754</guid>
      <dc:creator>AbdelhalimIbrahim1</dc:creator>
      <dc:date>2020-05-05T19:08:53Z</dc:date>
    </item>
    <item>
      <title>Re: Models-This is Result-Thanks.</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/models-this-is-result-thanks/m-p/179258#M755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey &lt;A href="https://community.esri.com/migrated-users/371945"&gt;Abdelhalim Ibrahim&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I understand your question correctly, you would like the output to recognize that each event is a duplicate of the previous one and not send that event.&amp;nbsp; Unfortunately, the OOTB &lt;A href="https://enterprise.arcgis.com/en/geoevent/latest/process-event-data/push-json-to-an-external-website.htm"&gt;Push JSON to External Web Site&lt;/A&gt; does not implement any mechanism to determine if an event is unique or not.&amp;nbsp; Thus, if you have 5,562 events in your input, it will write 5,562 events to your output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The easiest solution would be to deploy the Updates Only Processor and insert that between your input and output.&amp;nbsp; This processor will drop any event with a TRACK_ID+timestamp that&amp;nbsp;is identical to a previous event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/Esri/solutions-geoevent-java/tree/master/solutions-geoevent/processors/updateOnly-processor" title="https://github.com/Esri/solutions-geoevent-java/tree/master/solutions-geoevent/processors/updateOnly-processor"&gt;solutions-geoevent-java/solutions-geoevent/processors/updateOnly-processor at master · Esri/solutions-geoevent-java · Gi…&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have some control over the website you are pushing data to and can accomodate an updated JSON schema, you can create your own GeoEvent Outbound Connector that uses the [Feature] JSON Outbound Adapter (not the Generic JSON Adapter) combined with the HTTP REST Outbound Transport.&amp;nbsp; The Feature JSON Outbound Adapter will utilize the event's TRACK_ID to determine if the event is unique or new (within the update interval setting).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The easiest way to to do this is to make a copy of the existing Push JSON to Exernal Web Site, change the adapter to JSON, and update the parameter/properties appropriately:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/493462_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately your JSON format will change to the Esri Feature Set JSON format (see &lt;A href="https://developers.arcgis.com/rest/services-reference/query-feature-service-.htm"&gt;JSON response example (returnIdsOnly=false and returnCountOnly=false) here&lt;/A&gt;).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2020 19:46:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/models-this-is-result-thanks/m-p/179258#M755</guid>
      <dc:creator>EricIronside</dc:creator>
      <dc:date>2020-05-26T19:46:15Z</dc:date>
    </item>
  </channel>
</rss>

