I have some key value pairs
in a text file (sftp server)
and would like those values to be stored
somewhere in memory
or as global variables
so that I can use it in all my ExecuteScript
processors.
I have like more than 20 ExecuteScript
routed based on different types of data and I need to use these key value pairs
inside these processors.
I cannot store these values as NiFi global variables since the file content is not the same for each run of my NiFi Data flow.
The way Im expecting is when my NiFi flow starts these file contents has to stored somewhere(memory/variables)
so I can refer it in all my scripts.
Can this be done? Any suggestions or recommendations for this would be much appreciated.