java.lang.Object
overit.geocall.bl.BusinessTask<Void>
overit.geocallapp.wfm.scheduling.bl.immediatescheduling.processing.task.BTImmediateSchedulingLaunch
All Implemented Interfaces:
Serializable, Tool

public class BTImmediateSchedulingLaunch extends BusinessTask<Void>
Business task to launch immediate scheduling processes.
This task searches for processing records in TO_BE_PROCESSED state and launches the ImmediateSchedulingProcessEvent for each one.

The task runs periodically and:

  • Searches for all records in AIMMEDIATESCHEDULINGLASTPROC with state TO_BE_PROCESSED
  • For each record found, launches ImmediateSchedulingProcessEvent asynchronously

The actual processing is handled by BTImmediateSchedulingProcess in the core module, which uses an atomic UPDATE to acquire the record and prevent race conditions.

This task should be scheduled to run periodically (e.g., every 1-2 minutes).

Since:
22.0
See Also:
GCApi:
task
  • Constructor Details

    • BTImmediateSchedulingLaunch

      public BTImmediateSchedulingLaunch()
  • Method Details