<?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>question Re: Facing problem while extracting the data from json flow file using EvaluateJsonPath in NiFi in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Facing-problem-while-extracting-the-data-from-json-flow-file/m-p/287295#M212964</link>
    <description>&lt;P&gt;Hi Steven,&lt;/P&gt;&lt;P&gt;I doing a poc(learning nifi and doing it),&amp;nbsp; getting the data successfully from EvaluteJasonPath its going to matched processor with the only extracted data, but the flow file is missing when it is going to RouteOnAttribute, I could see only data extracted present but total flow file is missing, because of this my condition is not getting validated and going to unmatched status.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RouteOnAttribute.PNG" style="width: 758px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/25981i3379061ED3707EF1/image-size/large?v=v2&amp;amp;px=999" role="button" title="RouteOnAttribute.PNG" alt="RouteOnAttribute.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 09 Jan 2020 19:43:20 GMT</pubDate>
    <dc:creator>murali2425</dc:creator>
    <dc:date>2020-01-09T19:43:20Z</dc:date>
    <item>
      <title>Facing problem while extracting the data from json flow file using EvaluateJsonPath in NiFi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Facing-problem-while-extracting-the-data-from-json-flow-file/m-p/287286#M212958</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am receiving the flowfile from ConsumerKafka in json form.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ConsumerJson.PNG" style="width: 999px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/25979iA19927A3ED599D85/image-size/large?v=v2&amp;amp;px=999" role="button" title="ConsumerJson.PNG" alt="ConsumerJson.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then I am using EvaluateJsonPath to extract the json data once the data matched, i want call RouteOnAttribute to call script, but the expression which i have used&amp;nbsp; in EvaluateJsonPath&amp;nbsp; &amp;nbsp;processor looks to be wrong and throwing out unmatched info.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="EvaluateJsonParser.PNG" style="width: 762px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/25980i6469A8E0B43A4117/image-size/large?v=v2&amp;amp;px=999" role="button" title="EvaluateJsonParser.PNG" alt="EvaluateJsonParser.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Plz help me out to add right expression to extract&amp;nbsp; the fields&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jan 2020 19:12:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Facing-problem-while-extracting-the-data-from-json-flow-file/m-p/287286#M212958</guid>
      <dc:creator>murali2425</dc:creator>
      <dc:date>2020-01-09T19:12:20Z</dc:date>
    </item>
    <item>
      <title>Re: Facing problem while extracting the data from json flow file using EvaluateJsonPath in NiFi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Facing-problem-while-extracting-the-data-from-json-flow-file/m-p/287291#M212961</link>
      <description>&lt;P&gt;Based on your content, the values are accessed as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$.HR.finance.name&lt;/P&gt;&lt;P&gt;$.HR.finance.age&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jan 2020 19:07:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Facing-problem-while-extracting-the-data-from-json-flow-file/m-p/287291#M212961</guid>
      <dc:creator>stevenmatison</dc:creator>
      <dc:date>2020-01-09T19:07:47Z</dc:date>
    </item>
    <item>
      <title>Re: Facing problem while extracting the data from json flow file using EvaluateJsonPath in NiFi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Facing-problem-while-extracting-the-data-from-json-flow-file/m-p/287292#M212962</link>
      <description>&lt;P&gt;ohh my BAD, thank you Steven.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jan 2020 19:17:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Facing-problem-while-extracting-the-data-from-json-flow-file/m-p/287292#M212962</guid>
      <dc:creator>murali2425</dc:creator>
      <dc:date>2020-01-09T19:17:55Z</dc:date>
    </item>
    <item>
      <title>Re: Facing problem while extracting the data from json flow file using EvaluateJsonPath in NiFi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Facing-problem-while-extracting-the-data-from-json-flow-file/m-p/287295#M212964</link>
      <description>&lt;P&gt;Hi Steven,&lt;/P&gt;&lt;P&gt;I doing a poc(learning nifi and doing it),&amp;nbsp; getting the data successfully from EvaluteJasonPath its going to matched processor with the only extracted data, but the flow file is missing when it is going to RouteOnAttribute, I could see only data extracted present but total flow file is missing, because of this my condition is not getting validated and going to unmatched status.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RouteOnAttribute.PNG" style="width: 758px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/25981i3379061ED3707EF1/image-size/large?v=v2&amp;amp;px=999" role="button" title="RouteOnAttribute.PNG" alt="RouteOnAttribute.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jan 2020 19:43:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Facing-problem-while-extracting-the-data-from-json-flow-file/m-p/287295#M212964</guid>
      <dc:creator>murali2425</dc:creator>
      <dc:date>2020-01-09T19:43:20Z</dc:date>
    </item>
    <item>
      <title>Re: Facing problem while extracting the data from json flow file using EvaluateJsonPath in NiFi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Facing-problem-while-extracting-the-data-from-json-flow-file/m-p/287301#M212970</link>
      <description>&lt;P&gt;In the routeonattribute proc you use just the ${attribute:equals(‘value’)} that you parsed from evaluatejson proc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Evaluatejson:&lt;/P&gt;&lt;P&gt;attribute = $.HR.finance.name&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;RouteOnAttribute&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;${attribute:equals(‘Murali’)}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jan 2020 21:42:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Facing-problem-while-extracting-the-data-from-json-flow-file/m-p/287301#M212970</guid>
      <dc:creator>stevenmatison</dc:creator>
      <dc:date>2020-01-09T21:42:23Z</dc:date>
    </item>
    <item>
      <title>Re: Facing problem while extracting the data from json flow file using EvaluateJsonPath in NiFi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Facing-problem-while-extracting-the-data-from-json-flow-file/m-p/287312#M212979</link>
      <description>&lt;P&gt;Hi Steven,&lt;/P&gt;&lt;P&gt;Great Thank full to you, I tried the workaround but its failed, the problem is the attribute is not coming out from EvaluateJasonPath, the attribute which I supposed to use in RouteOnAttribute for comparison.&lt;/P&gt;&lt;P&gt;The following is the output of attributes property file from EvalueJasonPath processor.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="flowfileAttribute.PNG" style="width: 766px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/25982iBD86B1AA51C16D94/image-size/large?v=v2&amp;amp;px=999" role="button" title="flowfileAttribute.PNG" alt="flowfileAttribute.PNG" /&gt;&lt;/span&gt;&amp;nbsp;If I get attribute HR.finance.user from&amp;nbsp;EvaluateJasonPath, then i can use that attribute in RouteOnAttribute for comparison of attribute value.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jan 2020 03:12:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Facing-problem-while-extracting-the-data-from-json-flow-file/m-p/287312#M212979</guid>
      <dc:creator>murali2425</dc:creator>
      <dc:date>2020-01-10T03:12:03Z</dc:date>
    </item>
    <item>
      <title>Re: Facing problem while extracting the data from json flow file using EvaluateJsonPath in NiFi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Facing-problem-while-extracting-the-data-from-json-flow-file/m-p/287345#M212998</link>
      <description>&lt;P&gt;The issue is I was not using right value for the attribute Destination, the value suppose to be flowfile-attribute in my case.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks Steven for suggestions.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jan 2020 11:17:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Facing-problem-while-extracting-the-data-from-json-flow-file/m-p/287345#M212998</guid>
      <dc:creator>murali2425</dc:creator>
      <dc:date>2020-01-10T11:17:29Z</dc:date>
    </item>
    <item>
      <title>Re: Facing problem while extracting the data from json flow file using EvaluateJsonPath in NiFi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Facing-problem-while-extracting-the-data-from-json-flow-file/m-p/287351#M213003</link>
      <description>&lt;P&gt;Ahh I did not pay attention to that in the original screen shot, just tried to offer the syntax for the json parsing. &amp;nbsp; Glad you got it to work! &amp;nbsp; Isn't learning NiFi fun? &amp;nbsp;I love it.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jan 2020 13:05:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Facing-problem-while-extracting-the-data-from-json-flow-file/m-p/287351#M213003</guid>
      <dc:creator>stevenmatison</dc:creator>
      <dc:date>2020-01-10T13:05:09Z</dc:date>
    </item>
  </channel>
</rss>

