<?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: Question on Multicardinal Field Splitter Processor in ArcGIS GeoEvent Server Questions</title>
    <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/question-on-multicardinal-field-splitter-processor/m-p/183070#M787</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/44379"&gt;RJ Sunderman&lt;/A&gt;‌, by chaining Multicardinal Field Splitter processors, I can handle the stream of data exactly how I need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matej&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Aug 2020 09:33:13 GMT</pubDate>
    <dc:creator>MatejVrtich</dc:creator>
    <dc:date>2020-08-28T09:33:13Z</dc:date>
    <item>
      <title>Question on Multicardinal Field Splitter Processor</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/question-on-multicardinal-field-splitter-processor/m-p/183067#M784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you &lt;A href="https://community.esri.com/migrated-users/44379"&gt;RJ Sunderman&lt;/A&gt;‌ for your detailed explanation&amp;nbsp;of processing&amp;nbsp;a &lt;A _jive_internal="true" href="https://community.esri.com/thread/248267-issues-with-multicardinal-field-splitter-processor-handling-xml"&gt;hierarchical multicardinal XML data structures&lt;/A&gt;. I do have some questions on issues I'm having using the &lt;A href="https://www.arcgis.com/home/item.html?id=68238a93e5fd4043ad0bbb501b265566"&gt;Multicardinal Field Splitter&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a geoevent definition like this:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="504543" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/504543_pastedImage_1.png" /&gt;&amp;nbsp;And I need to split&amp;nbsp;every event&amp;nbsp;by the &lt;STRONG&gt;groupOfLocations.globalNetworkLinear.linearWithinLinearGNElement&lt;/STRONG&gt; attribute. But it seems, the Multicardinal Field Splitter has some problems&amp;nbsp;with splitting on attributes which are nested in&amp;nbsp;a hierarchy:&lt;IMG __jive_id="504544" class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/504544_pastedImage_3.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have any idea how to setup this correctly?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Matej&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Aug 2020 08:38:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/question-on-multicardinal-field-splitter-processor/m-p/183067#M784</guid>
      <dc:creator>MatejVrtich</dc:creator>
      <dc:date>2020-08-26T08:38:42Z</dc:date>
    </item>
    <item>
      <title>Re: Question on Multicardinal Field Splitter Processor</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/question-on-multicardinal-field-splitter-processor/m-p/183068#M785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV style="font-family: sans-serif; color: #3d3d3d; font-size: 11.5pt;"&gt;&lt;P style="margin: 8.0pt 0in 8.0pt 0in;"&gt;Hello &lt;A href="https://community.esri.com/migrated-users/4107"&gt;Matej&lt;/A&gt; –&lt;/P&gt;&lt;P style="margin: 8.0pt 0in 8.0pt 0in;"&gt;Unlike a&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;Field Mapper&lt;/STRONG&gt;&lt;/EM&gt; or&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;Field Calculator&lt;/STRONG&gt;&lt;/EM&gt; which needs you to specify the full "path" into a data structure, the&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;Field Splitter&lt;/STRONG&gt;&lt;/EM&gt; and in particular&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;Multicardinal Field Splitter&lt;/STRONG&gt;&lt;/EM&gt;&amp;nbsp;processors only expect the name of the element at which you want the split to be applied. So the &lt;EM&gt;Field to Split&lt;/EM&gt;&amp;nbsp;parameter's value should only specify the element's base name, &lt;SPAN style="color: #333399;"&gt;linearWithinLinearGNElement&lt;/SPAN&gt;, not the full path to the element (e.g.&amp;nbsp;&lt;SPAN style="font-family: terminal, monaco, monospace; color: #333399;"&gt;groupOfLocations.globalNetworkLinear.linearWithinLinearGNElement&lt;/SPAN&gt;).&lt;/P&gt;&lt;P style="margin: 8.0pt 0in 8.0pt 0in;"&gt;That said, you may have found a limit of what the processor is able to handle in terms of a deeply nested, hierarchical, multicardinal, data structure. To test what you are trying to do I created some sample JSON data which adapts using the GeoEvent Definition illustrated below. Note that it does not matter whether the data received is formatted as XML or JSON&amp;nbsp;– the inbound connector has to&amp;nbsp;&lt;SPAN style="text-decoration: underline;"&gt;&lt;EM&gt;adapt&lt;/EM&gt;&lt;/SPAN&gt;&amp;nbsp;whatever data is received to create an event record which can be routed to a GeoEvent Service for processing.&lt;/P&gt;&lt;P style="margin: 8.0pt 0in 8.0pt 0in;"&gt;&lt;IMG __jive_id="504656" alt="MCFS Data Sample" class="jive-emoji image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/504656_MCFS_Data_Sample.png" /&gt;&lt;/P&gt;&lt;P style="margin: 8.0pt 0in 8.0pt 0in;"&gt;After receiving the JSON above and allowing the inbound connector to adapt it using the illustrated GeoEvent Definition, I can use a Field Mapper to extract, for example, the data value "Delta" (line 21 in the sample JSON) by specifying the full path down through the data structure to the "E301" element in the array:&lt;/P&gt;&lt;P style="margin: 8.0pt 0in 8.0pt 0in;"&gt;&lt;SPAN style="font-size: 9.5pt;"&gt;&lt;STRONG&gt;metric_collection.Level1_Group3.Group3_Items[1].E301&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 8.0pt 0in 8.0pt 0in;"&gt;If I specify the same full path when configuring the Multicardinal Field Splitter, I see the error message you were able to capture from the system log:&amp;nbsp;&lt;SPAN style="font-size: 9.5pt;"&gt;&lt;STRONG&gt;Field name &amp;lt;name&amp;gt; is invalid&lt;/STRONG&gt;&lt;/SPAN&gt;.&amp;nbsp;However, if I specify only&amp;nbsp;&lt;SPAN style="font-size: 9.5pt;"&gt;&lt;STRONG&gt;Group3_Items&lt;/STRONG&gt;&lt;/SPAN&gt;&amp;nbsp;(the name of the array) as the field on which to conduct the split, I see a different error message in the log indicating a null pointer exception was encountered.&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 8.0pt 0in 8.0pt 0in;"&gt;I am in contact with one of our developers to review the source code of this processor. We will see what we can do to better handle the case where&amp;nbsp;&lt;SPAN style="font-size: 9.5pt;"&gt;&lt;STRONG&gt;Group3_Items&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;(the name of the array)&lt;/SPAN&gt;&amp;nbsp;is specified and why a null pointer is not being caught. The work around, for now, is to use multiple Multicardinal Field Splitter processors in series and "walk down" the hierarchy from the top to the multicardinal element on which you want the final split applied. I'll reply to this post with what I tested so you can see what I had to do to implement the work around.&lt;/P&gt;&lt;P style="margin: 8.0pt 0in 8.0pt 0in;"&gt;Please make sure&amp;nbsp;you have downloaded &lt;SPAN&gt;the latest release of the field splitter processor bundle (Release 8 - June 24, 2020) for release 10.8.1 of ArcGIS. This version includes changes which allow multiple MCFS processors to be arrayed in series. If you are using an earlier release of ArcGIS, please use&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;Release 7 (February 27, 2020).&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 8.0pt 0in 8.0pt 0in;"&gt;Hope this information is helpful –&lt;BR /&gt;RJ&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Aug 2020 22:41:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/question-on-multicardinal-field-splitter-processor/m-p/183068#M785</guid>
      <dc:creator>RJSunderman</dc:creator>
      <dc:date>2020-08-26T22:41:39Z</dc:date>
    </item>
    <item>
      <title>Re: Question on Multicardinal Field Splitter Processor</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/question-on-multicardinal-field-splitter-processor/m-p/183069#M786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV style="font-family: sans-serif; color: #3d3d3d; font-size: 11.5pt;"&gt;&lt;P style="margin: 8.0pt 0in 8.0pt 0in;"&gt;&lt;A href="https://community.esri.com/migrated-users/4107"&gt;Matej&lt;/A&gt; –&lt;/P&gt;&lt;P style="margin: 8.0pt 0in 8.0pt 0in;"&gt;Using my test data above, I can configure three MCFS (multicardinal field splitter) processors to split the data first on the group element &lt;SPAN style="background-color: #ffffff; border: 0px; font-weight: bold; font-size: 12.6667px; margin: 0px;"&gt;&lt;STRONG&gt;metric_collection&lt;/STRONG&gt;&lt;/SPAN&gt;, then on the group element &lt;SPAN style="background-color: #ffffff; border: 0px; font-weight: bold; font-size: 12.6667px; margin: 0px;"&gt;&lt;STRONG&gt;Level1_Group3&lt;/STRONG&gt;&lt;/SPAN&gt;, and finally on the array &lt;SPAN style="background-color: #ffffff; border: 0px; font-weight: bold; font-size: 12.6667px; margin: 0px;"&gt;&lt;STRONG&gt;Group3_Items&lt;/STRONG&gt;&lt;/SPAN&gt;. Following this pattern I think you'll be able to achieve what you need to do.&lt;/P&gt;&lt;P style="margin: 8.0pt 0in 8.0pt 0in;"&gt;&lt;IMG __jive_id="504757" alt="MCFS Workaround" class="jive-emoji image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/504757_MCFS_Workaround.png" /&gt;&lt;/P&gt;&lt;P style="margin: 8.0pt 0in 8.0pt 0in;"&gt;Above, I've illustrated the three event records routed from the final field splitter to the output.&amp;nbsp;&lt;SPAN&gt;Please make sure&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;you have downloaded the latest release of the field splitter processor bundle (Release 8 - June 24, 2020) for release 10.8.1 of ArcGIS. This version includes changes which allow multiple MCFS processors to be arrayed in series. If you are using an earlier release of ArcGIS, please use Release 7 (February 27, 2020).&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 8.0pt 0in 8.0pt 0in;"&gt;Hope this information is helpful –&lt;BR /&gt;RJ&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Aug 2020 21:02:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/question-on-multicardinal-field-splitter-processor/m-p/183069#M786</guid>
      <dc:creator>RJSunderman</dc:creator>
      <dc:date>2020-08-27T21:02:06Z</dc:date>
    </item>
    <item>
      <title>Re: Question on Multicardinal Field Splitter Processor</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/question-on-multicardinal-field-splitter-processor/m-p/183070#M787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/44379"&gt;RJ Sunderman&lt;/A&gt;‌, by chaining Multicardinal Field Splitter processors, I can handle the stream of data exactly how I need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matej&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2020 09:33:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/question-on-multicardinal-field-splitter-processor/m-p/183070#M787</guid>
      <dc:creator>MatejVrtich</dc:creator>
      <dc:date>2020-08-28T09:33:13Z</dc:date>
    </item>
  </channel>
</rss>

