This is probably a dumb one. I want to send a one off http request as part of my flow each time it runs. I am using invokehttp and I use generateflowfile upstream of it to store the json which is the http request body.
The trouble is, the generateflowfile is running thousand times as soon as I turn it on. How can I make it firstly only run once to set the message body?
Goto Scheduling tab of GenerateFlowfile processor and choose Timer Driven strategy and keep
Now processor triggers one flowfile after 300 sec.
Using Cron strategy you can keep cron expression as
0 0/5 * 1/1 * ? *
Now processor runs and triggers flowfile for every 5 mins.
If the answer is helpful to resolve the issue, Login and Click on Accept button below to close this thread.This will help other community users to find answers quickly :-)