<?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: Using UpdateAttribute Advanced Tab , property value not being populated. in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-UpdateAttribute-Advanced-Tab-property-value-not-being/m-p/174461#M46145</link>
    <description>&lt;P&gt;Also recommend against putting the quotes around your folder names ('MS1' should be just MS1).&lt;/P&gt;</description>
    <pubDate>Tue, 15 Nov 2016 04:06:02 GMT</pubDate>
    <dc:creator>MattWho</dc:creator>
    <dc:date>2016-11-15T04:06:02Z</dc:date>
    <item>
      <title>Using UpdateAttribute Advanced Tab , property value not being populated.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-UpdateAttribute-Advanced-Tab-property-value-not-being/m-p/174459#M46143</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a case where i have to route incoming flow files to different folders based on the File names. Lets say i have 1000 files that need to send to 5 folders. i thought this would work with Advanced settings of updateattribute where i can write the rules.&lt;/P&gt;&lt;P&gt;but the folder name is not being populated.anything wrong i am doing .??  here my test flow..List--&amp;gt;Fetch--&amp;gt;UpdateAttribute--&amp;gt;PutFile&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="9420-advanced.png" style="width: 1341px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/19903iF6E0CF56E021450C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="9420-advanced.png" alt="9420-advanced.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;and i tried to use the Folder attribute in the putfile ..i tried without single quotes also..&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="9431-advanced2.png" style="width: 611px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/19904i35DDF91733BE3468/image-size/medium?v=v2&amp;amp;px=400" role="button" title="9431-advanced2.png" alt="9431-advanced2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;or is there any better approach..?? i need to route 8000 files in to 18 different folders.basically 70 files to 17 folders and remaining 7100+ files to a default folder..(per day 8K files , i need to load data for 18 months)&lt;/P&gt;&lt;P&gt;Thanks for your help..&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sai&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 10:21:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-UpdateAttribute-Advanced-Tab-property-value-not-being/m-p/174459#M46143</guid>
      <dc:creator>saikrishna_tara</dc:creator>
      <dc:date>2019-08-18T10:21:31Z</dc:date>
    </item>
    <item>
      <title>Re: Using UpdateAttribute Advanced Tab , property value not being populated.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-UpdateAttribute-Advanced-Tab-property-value-not-being/m-p/174460#M46144</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/11732/saikrishnatarapareddy.html" nodeid="11732"&gt;@Saikrishna Tarapareddy&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Sounds like your Conditional EL statements are not resulting in a boolean true in your UpdateAttribute processor.
After some FlowFiles get routed through the UpdateAttribute let them queue on the outbound connection (Stop the next processor). Right click on the connection and select "List queue".  Click on the "view details" icon to the far left of a FlowFile and look at the Attributes on that FlowFile.  Do you see the expected "Folder" attribute?  is it set to the correct value?&lt;/P&gt;&lt;P&gt;If it does not exist, does the filename match exactly one of the provided strings in your EL condition statements?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2016 04:04:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-UpdateAttribute-Advanced-Tab-property-value-not-being/m-p/174460#M46144</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2016-11-15T04:04:54Z</dc:date>
    </item>
    <item>
      <title>Re: Using UpdateAttribute Advanced Tab , property value not being populated.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-UpdateAttribute-Advanced-Tab-property-value-not-being/m-p/174461#M46145</link>
      <description>&lt;P&gt;Also recommend against putting the quotes around your folder names ('MS1' should be just MS1).&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2016 04:06:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-UpdateAttribute-Advanced-Tab-property-value-not-being/m-p/174461#M46145</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2016-11-15T04:06:02Z</dc:date>
    </item>
    <item>
      <title>Re: Using UpdateAttribute Advanced Tab , property value not being populated.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-UpdateAttribute-Advanced-Tab-property-value-not-being/m-p/174462#M46146</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/525/mclark.html" nodeid="525"&gt;@Matt&lt;/A&gt; &lt;/P&gt;&lt;P&gt;it is working..my file name format has changed. it has a "-"  where its supposed to have a  "_"  i didn't notice it earlier.&lt;/P&gt;&lt;P&gt;thank you. &lt;/P&gt;&lt;P&gt;anyway is there a better approach to this.??&lt;/P&gt;&lt;P&gt;Regards,Sai&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2016 05:06:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-UpdateAttribute-Advanced-Tab-property-value-not-being/m-p/174462#M46146</guid>
      <dc:creator>saikrishna_tara</dc:creator>
      <dc:date>2016-11-15T05:06:50Z</dc:date>
    </item>
    <item>
      <title>Re: Using UpdateAttribute Advanced Tab , property value not being populated.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-UpdateAttribute-Advanced-Tab-property-value-not-being/m-p/174463#M46147</link>
      <description>&lt;P&gt;I believe the process you have is spot on and keeps the number of processors to a minimum.&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2016 05:49:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-UpdateAttribute-Advanced-Tab-property-value-not-being/m-p/174463#M46147</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2016-11-15T05:49:04Z</dc:date>
    </item>
  </channel>
</rss>

