<?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: Resetting an attribute &amp;quot;seq&amp;quot; in updateattribute processor once it reaches lets say to 9 in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Resetting-an-attribute-quot-seq-quot-in-updateattribute/m-p/181692#M73260</link>
    <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/20255/dheeruksingh.html" nodeid="20255" target="_blank"&gt;@dhieru singh&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The action should be seq = 0 and not $(getStateValue("seq")) = 0.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="47473-screen-shot-2018-01-09-at-124412-am.png" style="width: 1744px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/19205iF53F4BA23AD3BCDC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="47473-screen-shot-2018-01-09-at-124412-am.png" alt="47473-screen-shot-2018-01-09-at-124412-am.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 18 Aug 2019 08:59:20 GMT</pubDate>
    <dc:creator>ahadjidj</dc:creator>
    <dc:date>2019-08-18T08:59:20Z</dc:date>
    <item>
      <title>Resetting an attribute "seq" in updateattribute processor once it reaches lets say to 9</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Resetting-an-attribute-quot-seq-quot-in-updateattribute/m-p/181691#M73259</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;Thanks a lot to this awesome comunity&lt;/P&gt;&lt;P&gt;I am ingesting file through getfile processor and update the filename with date and time, in addition adding a tracker which resets after 9 is reached, below is how I approached&lt;/P&gt;&lt;P&gt;my updateattribute processor looks like below&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="47471-updateattribite.png" style="width: 786px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/19206iC5E1AABABC18D794/image-size/medium?v=v2&amp;amp;px=400" role="button" title="47471-updateattribite.png" alt="47471-updateattribite.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Then I configured advanced setting in the updateattribute processor attached ie the config&lt;/P&gt;&lt;P&gt;however the seq attribute is not resetting.&lt;/P&gt;&lt;P&gt;Any thoughts help please Thanks&lt;/P&gt;&lt;P&gt;Dheiru&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="47472-advanced.png" style="width: 1627px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/19207iA7789F07224581B3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="47472-advanced.png" alt="47472-advanced.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 08:59:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Resetting-an-attribute-quot-seq-quot-in-updateattribute/m-p/181691#M73259</guid>
      <dc:creator>dhieru</dc:creator>
      <dc:date>2019-08-18T08:59:33Z</dc:date>
    </item>
    <item>
      <title>Re: Resetting an attribute "seq" in updateattribute processor once it reaches lets say to 9</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Resetting-an-attribute-quot-seq-quot-in-updateattribute/m-p/181692#M73260</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/20255/dheeruksingh.html" nodeid="20255" target="_blank"&gt;@dhieru singh&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The action should be seq = 0 and not $(getStateValue("seq")) = 0.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="47473-screen-shot-2018-01-09-at-124412-am.png" style="width: 1744px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/19205iF53F4BA23AD3BCDC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="47473-screen-shot-2018-01-09-at-124412-am.png" alt="47473-screen-shot-2018-01-09-at-124412-am.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 08:59:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Resetting-an-attribute-quot-seq-quot-in-updateattribute/m-p/181692#M73260</guid>
      <dc:creator>ahadjidj</dc:creator>
      <dc:date>2019-08-18T08:59:20Z</dc:date>
    </item>
    <item>
      <title>Re: Resetting an attribute "seq" in updateattribute processor once it reaches lets say to 9</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Resetting-an-attribute-quot-seq-quot-in-updateattribute/m-p/181693#M73261</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2056/ahadjidj.html" nodeid="2056"&gt;@Abdelkrim Hadjidj&lt;/A&gt; worked Thanks a lot appreciate your help&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jan 2018 08:27:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Resetting-an-attribute-quot-seq-quot-in-updateattribute/m-p/181693#M73261</guid>
      <dc:creator>dhieru</dc:creator>
      <dc:date>2018-01-09T08:27:12Z</dc:date>
    </item>
    <item>
      <title>Re: Resetting an attribute "seq" in updateattribute processor once it reaches lets say to 9</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Resetting-an-attribute-quot-seq-quot-in-updateattribute/m-p/181694#M73262</link>
      <description>&lt;P&gt;Hi @&lt;A href="https://community.hortonworks.com/users/2056/ahadjidj.html"&gt;Abdelkrim Hadjidj&lt;/A&gt; &lt;/P&gt;&lt;P&gt;I tried the same the thing and what it does in the count attribute the value is not getting reset to 0. In fact when you check view state of Update attribute a new "count" attribute is being generated with its value 0 whereas the previous count attribute keeps on increasing whenever it receives a flow file. &lt;A href="https://community.cloudera.com/legacyfs/online/attachments/94561-11.jpg"&gt;11.jpg&lt;/A&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/94562-1.jpg"&gt;1.jpg&lt;/A&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/94563-2.jpg"&gt;2.jpg&lt;/A&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/94564-5.jpg"&gt;5.jpg&lt;/A&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/94565-6.jpg"&gt;6.jpg&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I'm using HDF - Nifi 1.5&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;fffI I t&lt;/P&gt;</description>
      <pubDate>Thu, 13 Dec 2018 18:36:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Resetting-an-attribute-quot-seq-quot-in-updateattribute/m-p/181694#M73262</guid>
      <dc:creator>gumber_kartik</dc:creator>
      <dc:date>2018-12-13T18:36:59Z</dc:date>
    </item>
  </channel>
</rss>

