I have multiple flowfiles that comming from different "parents". So what I am asking you if there is a way to MergeContent from a number of files not defined but to make sure that all flowfiles were merged.
ListFiles -> list all files in a folder ExecuteScript -> to change the content to filename MergeContent -> to put all filenames in same flowfile
It is between ExecuteScript and MergeContent that I need to do someth to ensure that all flowfiles are merged. I already tryied to use Split's processors but the fragment.identifier of each will be always different.