Requesting Jira contributor access
Username: ivan1221
Thanks Chris & Joe for the wonderfull ideas.
Now i am clear how to acheive this functionality.
Regards,
Sanjeet
On Thu, 12 Aug 2021, 11:06 pm Chris Sampson,
wrote:
> Consider using a static class member variable maybe (i.e. use a java-based
> solution instead of trying to find a nifi specific o
Consider using a static class member variable maybe (i.e. use a java-based
solution instead of trying to find a nifi specific one). Bear in mind that
"last execution" would then be reset if the node on which the processor is
scheduled gets restarted. If you're in a clustered environment then the
pr
Hi Joe,
Keeping track of last execution & comparing with current time looks good
solution for my use case.There is no additional complication also.
I am thinking of storing the "last execution time" in a processor
parameter.after every succesfull execution i will populate the value .so
Unless "cu
Sanjeet
What about keeping track of 'last execution' and 'current time' to
give you enough to decide if it has been at least 60 mins? Are there
additional complications to consider?
Thanks
On Thu, Aug 12, 2021 at 9:43 AM sanjeet rath wrote:
>
> Thanks , Joe for the quick reply.
> I was wonderin
Thanks , Joe for the quick reply.
I was wondering how can i figure out inside the processor's Ontrigger
method when it was run previously.
Basicaly want to implement ur suggestion of restricting the execution
inside the processor's code .
Regards,
Sanjeet
On Thu, 12 Aug 2021, 9:43 pm Joe Witt,
Sanjeet
We dont presently allow the processor developer to put such a
restriction into the code. Your best bet for now would be to document
that the processor even if scheduled more than once in a one hour
period will not execute its function more than once. Then in your
code you can protect/ens
Hi ,
I am building a custom processor and there is restriction i want to put for
the processor that it should not schedule to run 2 times in 1 hour time
period.
I can acheive this by passing "run schedule" 60 mins.
Is there any other way i can do in my custom processor code, So that it
won't al