Scheduling > Dispatch Console > Using Dispatch Console > Using Scheduler > Loading of Technicians and Their Calendar Events
Loading of Technicians and Their Calendar Events
When a dispatcher launches the Dispatch Console, only the service teams and territories that are expanded are loaded along with the associated technicians and their calendar events for the specified calendar duration.
Whenever the calendar (Scheduler) is refreshed manually or automatically, the calendar events are loaded for all the service teams or territories displayed, for the selected calendar duration. These events are loaded in batches, with the batch size determined by the value of global configuration settings SET074 (Number of technicians per batch) and SET075 (Number of events per batch). A batch consists of events Id for "x" technicians (SET074) for "y" days (SET001) or 1 year, whichever is lower. One API call is made per batch.
If the default batch size results in the “Too many query rows” exception when fetching the events, decrease the value of SET074 till the issue is resolved. This can happen if there are a large number of events for "y" days (SET001) or 1 year, whichever is lower.
If the default batch size results in the “Apex heap size too large” error when loading the events, decrease the value of SET075 till the issue is resolved. This can happen if the values within the events retrieved are too high.
Was this helpful?