The base provscheduler::Scheduler looks up in the ServiceOrderData Dataset for an attribute from where it can extract the exit time. The name of the attribute from the Dataset is configurable via the
provscheduler::Scheduler::exitTimeparameter attribute.
The exit time should be given as a number of seconds from 1/1/1970. See the swbuiltin package for conversion routines from string formats to number of seconds and vice versa.
The scheduler uses the order queue timer to check for orders that are ready to leave. This is a periodic check that needs to be configured using the timerGranularity parameter of the scheduler. For performance reasons, this value should be set as high as possible. Business and operational considerations have to be taken into account to determine what the highest possible value is for a particular project.
Note that, being an order queue, the scheduler will send "ready" orders to its own heap. So, the specified exit time is the time when the scheduler sends the order out to the heap. This exit time may differ from the actual time when the service order leaves the heap. Additionally, the timer granularity may cause some variation in the actual exit time.