<?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: if the flow file contains &amp;quot;HdF5 file is missing Merging completed&amp;quot; I have to route to some processor using Route Text processor and if the flow files contains only &amp;quot;Merging completed&amp;quot; I have route to some other processor....how can I configure Route Text processor so that I in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/if-the-flow-file-contains-quot-HdF5-file-is-missing-Merging/m-p/316363#M226782</link>
    <description>Thanks a lot</description>
    <pubDate>Fri, 14 May 2021 03:16:45 GMT</pubDate>
    <dc:creator>sangee</dc:creator>
    <dc:date>2021-05-14T03:16:45Z</dc:date>
    <item>
      <title>if the flow file contains "HdF5 file is missing Merging completed" I have to route to some processor using Route Text processor and if the flow files contains only "Merging completed"  I have  route to some other processor....how can I configure Route Text processor so that I can achieve the same</title>
      <link>https://community.cloudera.com/t5/Support-Questions/if-the-flow-file-contains-quot-HdF5-file-is-missing-Merging/m-p/316286#M226768</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot (39).png" style="width: 999px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/31160i05705F9D804F0F54/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot (39).png" alt="Screenshot (39).png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 May 2021 09:32:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/if-the-flow-file-contains-quot-HdF5-file-is-missing-Merging/m-p/316286#M226768</guid>
      <dc:creator>sangee</dc:creator>
      <dc:date>2021-05-13T09:32:41Z</dc:date>
    </item>
    <item>
      <title>Re: if the flow file contains "HdF5 file is missing Merging completed" I have to route to some processor using Route Text processor and if the flow files contains only "Merging completed"  I have  route to some other processor....how can I configure Route Text processor so that I</title>
      <link>https://community.cloudera.com/t5/Support-Questions/if-the-flow-file-contains-quot-HdF5-file-is-missing-Merging/m-p/316345#M226774</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/87571"&gt;@sangee&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The "&lt;STRONG&gt;RouteText&lt;/STRONG&gt;" [1] processor is used to route individual lines within a multi-line content FlowFile to different relationships (essentially splitting up a multi-line FlowFile).&amp;nbsp; What you are trying to accomplish can however be done using the "&lt;STRONG&gt;RouteOnContent&lt;/STRONG&gt;" [2] processor.&lt;BR /&gt;&lt;BR /&gt;Your sample shows content with two lines and only one of those lines containing the string "Merging completed".&amp;nbsp; So I assume the other FlowFIle's content will have only one line with "Merging complete"?&lt;BR /&gt;&lt;BR /&gt;If so, the "RouteOnContent" can be configured as follows:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MattWho_0-1620927036306.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/31167i0031830D8EA33A2F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MattWho_0-1620927036306.png" alt="MattWho_0-1620927036306.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The dynamic property I added becomes a new relationship on the processor.&amp;nbsp; So any FlowFile where content matches exactly "&lt;STRONG&gt;&lt;EM&gt;Merging complete&lt;/EM&gt;&lt;/STRONG&gt;" will be sent to this relationship while all other FlowFiles will be routed to the pre-existing "&lt;EM&gt;&lt;STRONG&gt;unmatched&lt;/STRONG&gt;&lt;/EM&gt;" relationship.&lt;BR /&gt;&lt;BR /&gt;[1]&amp;nbsp;&lt;A href="http://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/1.13.2/org.apache.nifi.processors.standard.RouteText/index.html" target="_blank" rel="noopener"&gt;http://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/1.13.2/org.apache.nifi.processors.standard.RouteText/index.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;[2]&amp;nbsp;&lt;A href="http://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/1.13.2/org.apache.nifi.processors.standard.RouteOnContent/index.html" target="_blank" rel="noopener"&gt;http://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/1.13.2/org.apache.nifi.processors.standard.RouteOnContent/index.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;If you found this help with 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;</description>
      <pubDate>Thu, 13 May 2021 17:37:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/if-the-flow-file-contains-quot-HdF5-file-is-missing-Merging/m-p/316345#M226774</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2021-05-13T17:37:16Z</dc:date>
    </item>
    <item>
      <title>Re: if the flow file contains "HdF5 file is missing Merging completed" I have to route to some processor using Route Text processor and if the flow files contains only "Merging completed" I have route to some other processor....how can I configure Route Text processor so that I</title>
      <link>https://community.cloudera.com/t5/Support-Questions/if-the-flow-file-contains-quot-HdF5-file-is-missing-Merging/m-p/316363#M226782</link>
      <description>Thanks a lot</description>
      <pubDate>Fri, 14 May 2021 03:16:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/if-the-flow-file-contains-quot-HdF5-file-is-missing-Merging/m-p/316363#M226782</guid>
      <dc:creator>sangee</dc:creator>
      <dc:date>2021-05-14T03:16:45Z</dc:date>
    </item>
  </channel>
</rss>

