Question
Reset the Filename sequence no./counter everyday
Hi,
Every 5 min i have a file generated from the NiFi Processor GenerateFlowFile:
filename_0.xml
filename_1.xml
filename_2.xml
....
I would like to asked how do i reset the sequence no. everyday ?
Thanks. Would appreciate help with example and explanation.
The first method i found is using nextInt():


the second method is using seq:


Please advise me with steps and example. thanks

