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.
I'm not sure but you can use Wait Point ( http://help.adobe.com/en_US/livecycle/10.0/WorkbenchHelp/WS92d06802c76abadb-1cc35bda128261 a20dd-7ef2.html ) within the process loop.
Hope it helps.