Created 09-28-2017 05:39 AM
I have to fetch online service with user Id-s(for example from 1 to 100) i have put 3 parameters start =1, end=100, parameter= 1, in GenerateFlowFile after that i wrote groovy code in exucutescript processor in a way that it generates 100 flowfile with certain user id-s i want to schedule my processor in a way that it can process only one flowfile in a day and reitreive only one user id in a day,i have workfloe like this GenerateFlowFile->ExecuteScript->InvokeHttp->putFile.I tried to change Back Pressure Object Threshold from 10000 to 1 but it doesn't work properly. What should i change to make this task?
Created on 09-28-2017 01:39 PM - edited 08-17-2019 10:16 PM
To process only one file per day, just configure your processor to run once a day using a Scheduling Strategy of CRON driven
Here is an example of a processor scheduled to run everyday at 1PM
Created on 09-28-2017 01:39 PM - edited 08-17-2019 10:16 PM
To process only one file per day, just configure your processor to run once a day using a Scheduling Strategy of CRON driven
Here is an example of a processor scheduled to run everyday at 1PM
Created 10-07-2017 08:57 PM
Does this answer your question?
Created 10-08-2017 10:41 AM
Yes it was helpful 😄
Created 10-03-2017 06:51 PM
Did the answer below help? Please either accept or explain why it didn't answer your question.
Created 01-28-2020 05:16 AM
Can you please suggest how I schedule a processor so that it runs only when it receives the first flowfile for the day
Created 01-28-2020 05:46 AM
@mbaid You should consider opening a new thread as this one is quite old. A new thread would also allow you to provide further details that will be unique to your situation.