I have a scenario where I need to run a processor on NiFi restart.
Is there any way to trigger a nifi processor whenever nifi restarts ?
Thanks in advance,
it's possible in NiFi but it depends on how frequently you are going to restart NiFi instance.
Use GenerateFlowFile (or) other processors and schedule the processor as shown below
With the above schedule GenerateFlowFile processor going to run once we start processor and next run will be after 1111111110 sec (or) when you restart NiFi instance.
For your case adjust the Run Schedule time based on your NiFi restart time.
View solution in original post