<?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: Routing from RouteOnAttribute to GetFile in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Routing-from-RouteOnAttribute-to-GetFile/m-p/385232#M245657</link>
    <description>&lt;P&gt;Ok, I think I know what you mean now.&amp;nbsp; Basically the GetFile is designed not to take any incoming connection as you can see in the processor documentation:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SAMSAL_1-1710925296183.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/40106iC27450999ED7FD65/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SAMSAL_1-1710925296183.png" alt="SAMSAL_1-1710925296183.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The reason&amp;nbsp; such restriction applies depend on how the processor works. The GetFile is designed as a trigger processor and it executes every time a file is placed in the target path, so providing an incoming relationship (wither through routeOnAttribute or any other processor) will break this rule because that means the GetFile will only work and Get the file when upper stream processor triggers that via sending flowfile which is not what this processor is designed to do. What you need is FetchFile processor given that you know the file you are looking for because this processor takes the full file path and not just a directory.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 20 Mar 2024 09:07:30 GMT</pubDate>
    <dc:creator>SAMSAL</dc:creator>
    <dc:date>2024-03-20T09:07:30Z</dc:date>
    <item>
      <title>Routing from RouteOnAttribute to GetFile</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Routing-from-RouteOnAttribute-to-GetFile/m-p/385223#M245653</link>
      <description>&lt;P&gt;I have to create a connection from&amp;nbsp;RouteOnAttribute&amp;nbsp; processor to GetFile processor based on value of an attribute which I have set in processor preceding&amp;nbsp;RouteOnAttribute .&lt;/P&gt;&lt;P&gt;But I am unable to do so on NiFi ui. Connection dialogbox jut doesn't appear.&lt;/P&gt;&lt;P&gt;What am I missing?&lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2024 08:03:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Routing-from-RouteOnAttribute-to-GetFile/m-p/385223#M245653</guid>
      <dc:creator>manishg</dc:creator>
      <dc:date>2024-03-20T08:03:33Z</dc:date>
    </item>
    <item>
      <title>Re: Routing from RouteOnAttribute to GetFile</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Routing-from-RouteOnAttribute-to-GetFile/m-p/385225#M245654</link>
      <description>&lt;P&gt;Hi , can you provide screenshot of the routeonattribute processor properties and relationship tabls configurations ? Also if you can provide a screenshot of the data flow and highlight what is missing?&amp;nbsp; that would be very helpful to the community to pin point what exactly the problem is.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2024 08:39:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Routing-from-RouteOnAttribute-to-GetFile/m-p/385225#M245654</guid>
      <dc:creator>SAMSAL</dc:creator>
      <dc:date>2024-03-20T08:39:18Z</dc:date>
    </item>
    <item>
      <title>Re: Routing from RouteOnAttribute to GetFile</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Routing-from-RouteOnAttribute-to-GetFile/m-p/385229#M245656</link>
      <description>&lt;P&gt;This is RouteOnAttribute processor. As you can see I have 2 properties defined. I want to use fileTransfer property to route to GetFile processor.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="manishg_0-1710924159787.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/40103iF339F1DE09541C31/image-size/medium?v=v2&amp;amp;px=400" role="button" title="manishg_0-1710924159787.png" alt="manishg_0-1710924159787.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And this is connection dialog box for one of the existing connections, and it lists 'fileTransfer' as a relationship.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="manishg_1-1710924252034.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/40104i0527D7BA136BC711/image-size/medium?v=v2&amp;amp;px=400" role="button" title="manishg_1-1710924252034.png" alt="manishg_1-1710924252034.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2024 08:46:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Routing-from-RouteOnAttribute-to-GetFile/m-p/385229#M245656</guid>
      <dc:creator>manishg</dc:creator>
      <dc:date>2024-03-20T08:46:47Z</dc:date>
    </item>
    <item>
      <title>Re: Routing from RouteOnAttribute to GetFile</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Routing-from-RouteOnAttribute-to-GetFile/m-p/385232#M245657</link>
      <description>&lt;P&gt;Ok, I think I know what you mean now.&amp;nbsp; Basically the GetFile is designed not to take any incoming connection as you can see in the processor documentation:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SAMSAL_1-1710925296183.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/40106iC27450999ED7FD65/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SAMSAL_1-1710925296183.png" alt="SAMSAL_1-1710925296183.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The reason&amp;nbsp; such restriction applies depend on how the processor works. The GetFile is designed as a trigger processor and it executes every time a file is placed in the target path, so providing an incoming relationship (wither through routeOnAttribute or any other processor) will break this rule because that means the GetFile will only work and Get the file when upper stream processor triggers that via sending flowfile which is not what this processor is designed to do. What you need is FetchFile processor given that you know the file you are looking for because this processor takes the full file path and not just a directory.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2024 09:07:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Routing-from-RouteOnAttribute-to-GetFile/m-p/385232#M245657</guid>
      <dc:creator>SAMSAL</dc:creator>
      <dc:date>2024-03-20T09:07:30Z</dc:date>
    </item>
  </channel>
</rss>

