Created on 01-08-2018 11:34 PM - edited 08-18-2019 01:59 AM
Hi All,
Thanks a lot to this awesome comunity
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
my updateattribute processor looks like below
Then I configured advanced setting in the updateattribute processor attached ie the config
however the seq attribute is not resetting.
Any thoughts help please Thanks
Dheiru
Created on 01-08-2018 11:43 PM - edited 08-18-2019 01:59 AM
The action should be seq = 0 and not $(getStateValue("seq")) = 0.
Created on 01-08-2018 11:43 PM - edited 08-18-2019 01:59 AM
Created 01-09-2018 12:27 AM
@Abdelkrim Hadjidj worked Thanks a lot appreciate your help
Created 12-13-2018 10:36 AM
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. 11.jpg1.jpg2.jpg5.jpg6.jpg
I'm using HDF - Nifi 1.5
Thanks
fffI I t