<?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 How to user attribute in Listfile in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/How-to-user-attribute-in-Listfile/m-p/412152#M253278</link>
    <description>&lt;P&gt;Hi Expert,&lt;/P&gt;&lt;P&gt;I've the incoming flowfile have a attribute somethings like cdc = 12. And I'd like to list file in the folder looks like /home/user/cdc=${cdc}.&lt;/P&gt;&lt;P&gt;Because the listfile not required an incomming flowfile. So How can I achieve this?&lt;/P&gt;&lt;P&gt;Thank you so much.&lt;/P&gt;</description>
    <pubDate>Fri, 22 Aug 2025 06:29:57 GMT</pubDate>
    <dc:creator>HoangNguyen</dc:creator>
    <dc:date>2025-08-22T06:29:57Z</dc:date>
    <item>
      <title>How to user attribute in Listfile</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-user-attribute-in-Listfile/m-p/412152#M253278</link>
      <description>&lt;P&gt;Hi Expert,&lt;/P&gt;&lt;P&gt;I've the incoming flowfile have a attribute somethings like cdc = 12. And I'd like to list file in the folder looks like /home/user/cdc=${cdc}.&lt;/P&gt;&lt;P&gt;Because the listfile not required an incomming flowfile. So How can I achieve this?&lt;/P&gt;&lt;P&gt;Thank you so much.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Aug 2025 06:29:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-user-attribute-in-Listfile/m-p/412152#M253278</guid>
      <dc:creator>HoangNguyen</dc:creator>
      <dc:date>2025-08-22T06:29:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to user attribute in Listfile</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-user-attribute-in-Listfile/m-p/412157#M253282</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/128357"&gt;@HoangNguyen&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I do not understand wrong, what you want is not possible.&amp;nbsp;&lt;BR /&gt;ListFile does not support incoming FlowFile as an source.&amp;nbsp;&lt;BR /&gt;To do that, you will need to use&amp;nbsp;variable registry.&amp;nbsp;&lt;BR /&gt;Look here:&lt;/P&gt;&lt;PRE&gt;Display Name: Input Directory &lt;BR /&gt;API Name: Input Directory&lt;BR /&gt;Description: The input directory from which files to pull files&lt;BR /&gt;Supports Expression Language: true (will be evaluated using variable registry only)&lt;BR /&gt;&lt;A href="https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/1.9.2/org.apache.nifi.processors.standard.ListFile/index.html" target="_blank"&gt;https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/1.9.2/org.apache.nifi.processors.standard.ListFile/index.html&lt;/A&gt;&lt;/PRE&gt;&lt;P&gt;Looking on that, FetchFile will do what you need:&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Display Name: File to Fetch&lt;BR /&gt;API Name: File to Fetch &lt;BR /&gt;Default Value: ${absolute.path}/${filename} &lt;BR /&gt;Description: The fully-qualified filename of the file to fetch from the file system&lt;BR /&gt;Supports Expression Language: true (will be evaluated using flow file attributes and variable registry)&lt;BR /&gt;&lt;A href="https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/1.9.2/org.apache.nifi.processors.standard.FetchFile/index.html" target="_blank"&gt;https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/1.9.2/org.apache.nifi.processors.standard.FetchFile/index.html&lt;/A&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 22 Aug 2025 22:01:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-user-attribute-in-Listfile/m-p/412157#M253282</guid>
      <dc:creator>vafs</dc:creator>
      <dc:date>2025-08-22T22:01:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to user attribute in Listfile</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-user-attribute-in-Listfile/m-p/412159#M253284</link>
      <description>&lt;P&gt;Gracias&amp;nbsp;&lt;SPAN&gt;Andrés, It's really helpful&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Aug 2025 04:23:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-user-attribute-in-Listfile/m-p/412159#M253284</guid>
      <dc:creator>HoangNguyen</dc:creator>
      <dc:date>2025-08-25T04:23:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to user attribute in Listfile</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-user-attribute-in-Listfile/m-p/412163#M253288</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/128357"&gt;@HoangNguyen&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Keep in mind that the Apache NiFi Variable Registry no longer exist in Apache NiFi 2.x releases and there is no more development of the Apache NIFi 1.x versions.&amp;nbsp; NiFi &lt;A href="https://nifi.apache.org/docs/nifi-docs/html/user-guide.html#Parameters" target="_blank" rel="noopener"&gt;Parameter Contexts&lt;/A&gt;, which were introduced in later versions of Apache NiFi 1.x, provides similar capability going forward and should be used instead of the variable registry.&amp;nbsp; You'll be forced to transition to Parameter Contexts in order to move to Apache NiFi 2.x. versions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help our community grow. If you found&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;any&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;of the suggestions/solutions provided helped you with solving your issue or answering your question, please take a moment to login and click "&lt;SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;Accept as Solution&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;" on&amp;nbsp;&lt;STRONG&gt;one or more&lt;/STRONG&gt;&amp;nbsp;of them that helped.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you,&lt;BR /&gt;Matt&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Aug 2025 12:23:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-user-attribute-in-Listfile/m-p/412163#M253288</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2025-08-25T12:23:16Z</dc:date>
    </item>
  </channel>
</rss>

