Will be the UUID unique if we restart NiFi Server and create a new instance of Nifi Server. Would you please suggest a way to get the UUID and pass on as attribute
Thank you very much for your support. Regards, Rajesh Biswas On Sat, Sep 22, 2018 at 1:24 AM Bryan Bende <bbe...@gmail.com> wrote: > Filename is just a string attribute that could be anything, so it is not > unique. Every flow file has an attribute called uuid which is unique. > > NiFi could have a GetFile processor that picks up the same file over and > over and could have 100 flow files all with the same filename, but with > different uuids. > > > On Fri, Sep 21, 2018 at 3:25 PM Rajesh Biswas <rajesh.bis...@bridgera.com> > wrote: > >> Hello Bryan, >> >> Thank you very much for your suggestion, it worked after following your >> suggestion. >> >> I have one relative question here. >> >> Is the Flow File name unique? Will it remain unique if we restart the >> NiFi service. >> >> We do have a requirement to keep file name unique which we send to HTTP >> processor as Post request, the file became follow file content. >> >> How to make sure the file name will always be unique? >> >> >> >> Thanks and Regards, >> >> *Rajesh Biswas* | +91 9886433461 | www.bridgera.com >> >> >> >> *From:* Rajesh Biswas [mailto:rajesh.bis...@bridgera.com] >> *Sent:* Friday, September 21, 2018 7:09 PM >> *To:* dev@nifi.apache.org; bbe...@gmail.com >> *Cc:* kolk...@bridgera.com; Joydeep Misra >> *Subject:* Change Flowfile Name >> >> >> >> Hello NiFi Dev Team, >> >> Would you please suggest how to change flow file name in Apache NiFi. >> >> We have use UpdatAttribute processor with below configuration, would you >> please suggest regarding the same >> >> >> >> Attribute Expression: >> ${filename:replace(${filename},"Medical"):append(${fromDate})} >> >> >> >> Please help me with your thought >> >> Thank you very much >> >> >> >> Thanks and Regards, >> >> *Rajesh Biswas* | +91 9886433461 | www.bridgera.com >> >> >> >> >> >> >> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient> >> >> Virus-free. www.avast.com >> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient> >> >> >> >