About Timer Usage Rules
When using timers, consider these usage rules:
- A When-Timer-Expired trigger cannot fire during transactions, trigger processing,
navigation, etc. Thus, a When-Timer-Expired trigger only fires while Oracle Forms is waiting to accept user input.
- As a result, a timer may not expire exactly on the millisecond, but it will
fire after the specified number of milliseconds.
- By default, a timer repeats on expiration unless you specify NO_REPEAT.
- When a timer is created, Oracle Forms puts it on a queue.
- A When-Timer-Expired trigger will only fire once for each timer that is
on the queue.
- A repeating timer will not repeat while it is on the queue. It will begin
repeating once it has been serviced off of the queue by a When-Timer-Expired
trigger. Thus, only one instance of a timer may be placed on the expired timer
queue at a time.
- If the operator exits an application prior to timer expiration, any timer
on the queue will not be executed by the When-Timer-Expired trigger.
- A timer always waits to be handled until the current operation has been
completed. In other words, a query is completed before the timer is serviced.
Related topics
About timers
Creating a timer
When-Timer-Expired Trigger