In a short-lived process, I have some operations that must be executed each five seconds (using a custom component with java Thread.sleep to wait) .
Tried 2 ways:
1) an infinite loop
2) The same event as start point and throw.
Both ways works fine but after some time the process stops reporting problems with Work Manager.
I'd like to know which is the better way to implement this process.
Thanks,
Marcela