<?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: NiFi Expression - Multiple AND - AND Conditions in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-Expression-Multiple-AND-AND-Conditions/m-p/196919#M83961</link>
    <description>&lt;A rel="user" href="https://community.cloudera.com/users/83213/yjabbary.html" nodeid="83213" target="_blank"&gt;@yazeed salem&lt;/A&gt;&lt;P&gt;Your NiFi expression Language statement looks good.  I even tested base on your example and it routed my flowfiles correctly&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="92617-screen-shot-2018-10-01-at-14402-pm.png" style="width: 514px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/17876i3D9C960522D7A92D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="92617-screen-shot-2018-10-01-at-14402-pm.png" alt="92617-screen-shot-2018-10-01-at-14402-pm.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Make sure that each of the FlowFiles being processed have required FlowFile Attributes set on them.&lt;BR /&gt;You can stop your RouteOnAttribute processor and allow a few files to queue in the connection feeding it.&lt;BR /&gt;Then right click on connection and select "List queue".  You can then click on "details" icon to far left of any FlowFIle to verify that it does have correct attributes set on it.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="92618-screen-shot-2018-10-01-at-15006-pm.png" style="width: 357px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/17877i6FB4D851CB6D7E27/image-size/medium?v=v2&amp;amp;px=400" role="button" title="92618-screen-shot-2018-10-01-at-15006-pm.png" alt="92618-screen-shot-2018-10-01-at-15006-pm.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;If you found this answer addressed your question, please take a moment to login in and click the "ACCEPT" link.&lt;/P&gt;</description>
    <pubDate>Sun, 18 Aug 2019 06:22:13 GMT</pubDate>
    <dc:creator>MattWho</dc:creator>
    <dc:date>2019-08-18T06:22:13Z</dc:date>
    <item>
      <title>NiFi Expression - Multiple AND - AND Conditions</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-Expression-Multiple-AND-AND-Conditions/m-p/196918#M83960</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am using RouteONAttribute Processor and i defined a property and its value contains multiple  AND conditions like the following:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Property Name:&lt;/STRONG&gt; ROUTE1&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Property Value:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;${text.tag.type:equals('XXX'):and(${txt:contains('AAA')}):and(${&lt;/STRONG&gt;&lt;STRONG&gt;txt:contains&lt;/STRONG&gt;&lt;STRONG&gt;('BBB')})}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The Issue i am facing is that after generating a flow file with attributes text.tag.type = XXX and txt = AAA,BBB it always route to &lt;STRONG&gt;unmatched &lt;/STRONG&gt;while it should route to &lt;STRONG&gt;ROUTE1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Thanks ...&lt;/P&gt;</description>
      <pubDate>Tue, 02 Oct 2018 00:07:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-Expression-Multiple-AND-AND-Conditions/m-p/196918#M83960</guid>
      <dc:creator>yjabbary</dc:creator>
      <dc:date>2018-10-02T00:07:57Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi Expression - Multiple AND - AND Conditions</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-Expression-Multiple-AND-AND-Conditions/m-p/196919#M83961</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/83213/yjabbary.html" nodeid="83213" target="_blank"&gt;@yazeed salem&lt;/A&gt;&lt;P&gt;Your NiFi expression Language statement looks good.  I even tested base on your example and it routed my flowfiles correctly&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="92617-screen-shot-2018-10-01-at-14402-pm.png" style="width: 514px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/17876i3D9C960522D7A92D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="92617-screen-shot-2018-10-01-at-14402-pm.png" alt="92617-screen-shot-2018-10-01-at-14402-pm.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Make sure that each of the FlowFiles being processed have required FlowFile Attributes set on them.&lt;BR /&gt;You can stop your RouteOnAttribute processor and allow a few files to queue in the connection feeding it.&lt;BR /&gt;Then right click on connection and select "List queue".  You can then click on "details" icon to far left of any FlowFIle to verify that it does have correct attributes set on it.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="92618-screen-shot-2018-10-01-at-15006-pm.png" style="width: 357px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/17877i6FB4D851CB6D7E27/image-size/medium?v=v2&amp;amp;px=400" role="button" title="92618-screen-shot-2018-10-01-at-15006-pm.png" alt="92618-screen-shot-2018-10-01-at-15006-pm.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;If you found this answer addressed your question, please take a moment to login in and click the "ACCEPT" link.&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 06:22:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-Expression-Multiple-AND-AND-Conditions/m-p/196919#M83961</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2019-08-18T06:22:13Z</dc:date>
    </item>
  </channel>
</rss>

