<?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: RountOnAttribute Multiple Conditions (Properties) in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/RountOnAttribute-Multiple-Conditions-Properties/m-p/317916#M227355</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/78508"&gt;@ang_coder&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The RouteOnAttribute processor establishes a NEW relationship for each dynamic property you add. If you intent is that a single FlowFile must satisfy all conditions to route on, then you should have just one NiFi Expression Language (NEL) statement that covers all conditions resulting a true or false boolean.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;If you share your two statements, I'd be happy to help you construct a single NEL statement.&lt;BR /&gt;butt would be structured something like something like:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MattWho_0-1623159533817.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/31451iCBFCC374193A2D90/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MattWho_0-1623159533817.png" alt="MattWho_0-1623159533817.png" /&gt;&lt;/span&gt;&lt;BR /&gt;All 4 lines would need to result in true before FlowFile would be related to this dynamic property's relationship.&lt;BR /&gt;&lt;BR /&gt;If you found this addressed your query, please take a moment to login and click "Accept" on this solution.&lt;BR /&gt;Thank you,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 08 Jun 2021 13:41:01 GMT</pubDate>
    <dc:creator>MattWho</dc:creator>
    <dc:date>2021-06-08T13:41:01Z</dc:date>
    <item>
      <title>RountOnAttribute Multiple Conditions (Properties)</title>
      <link>https://community.cloudera.com/t5/Support-Questions/RountOnAttribute-Multiple-Conditions-Properties/m-p/314935#M226251</link>
      <description>&lt;P&gt;I get two flow files and I need to look at the value of data in flow files based on two different conditions in RouteOnAttribute. If both the conditions match, then only the flow should be routed to executeSQL processor, else it should flow down to MonitorActivity Processor. I tried multiple ways, but this is not working. Every time, when one of the conditions match, it gets routed to executeSQL Processor.&amp;nbsp;&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="Screen Shot 2021-04-20 at 12.55.32 AM.png" style="width: 999px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/30947i32AAE81E745D4056/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2021-04-20 at 12.55.32 AM.png" alt="Screen Shot 2021-04-20 at 12.55.32 AM.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2021-04-20 at 1.03.42 AM.png" style="width: 999px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/30948iA104E689AA95895D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2021-04-20 at 1.03.42 AM.png" alt="Screen Shot 2021-04-20 at 1.03.42 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Apr 2021 06:59:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/RountOnAttribute-Multiple-Conditions-Properties/m-p/314935#M226251</guid>
      <dc:creator>ang_coder</dc:creator>
      <dc:date>2021-04-20T06:59:34Z</dc:date>
    </item>
    <item>
      <title>Re: RountOnAttribute Multiple Conditions (Properties)</title>
      <link>https://community.cloudera.com/t5/Support-Questions/RountOnAttribute-Multiple-Conditions-Properties/m-p/317916#M227355</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/78508"&gt;@ang_coder&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The RouteOnAttribute processor establishes a NEW relationship for each dynamic property you add. If you intent is that a single FlowFile must satisfy all conditions to route on, then you should have just one NiFi Expression Language (NEL) statement that covers all conditions resulting a true or false boolean.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;If you share your two statements, I'd be happy to help you construct a single NEL statement.&lt;BR /&gt;butt would be structured something like something like:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MattWho_0-1623159533817.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/31451iCBFCC374193A2D90/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MattWho_0-1623159533817.png" alt="MattWho_0-1623159533817.png" /&gt;&lt;/span&gt;&lt;BR /&gt;All 4 lines would need to result in true before FlowFile would be related to this dynamic property's relationship.&lt;BR /&gt;&lt;BR /&gt;If you found this addressed your query, please take a moment to login and click "Accept" on this solution.&lt;BR /&gt;Thank you,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jun 2021 13:41:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/RountOnAttribute-Multiple-Conditions-Properties/m-p/317916#M227355</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2021-06-08T13:41:01Z</dc:date>
    </item>
  </channel>
</rss>

