Class ImmediateSchedulingEnqueueEvent

java.lang.Object
overit.geocall.bl.GenericEvent<Long>
overit.geocall.bl.BusinessEvent<Long>
overit.geocall.bl.SimpleBusinessEvent<ImmediateSchedulingEnqueueInput,Long>
overit.geocallapp.wfm.scheduling.bl.immediatescheduling.processing.event.ImmediateSchedulingEnqueueEvent

public class ImmediateSchedulingEnqueueEvent extends SimpleBusinessEvent<ImmediateSchedulingEnqueueInput,Long>
Event to enqueue a new immediate scheduling processing.

The launcher must provide a valid ImmediateSchedulingEnqueueInput in order to successfully call this event.

The listener will:

  • Search for an existing last processing record for the given operation center and scheduling model
  • If found, update it with the new processing parameters and set state to TO_BE_PROCESSED
  • If not found, create a new last processing record with state TO_BE_PROCESSED
  • Create a corresponding history record
  • Launch the ImmediateSchedulingProcessEvent asynchronously to process the enqueued request

This event is used both by:

  • The scheduled task BTImmediateSchedulingLaunch to automatically enqueue processing based on calendar configuration
  • The UI when the user manually triggers an immediate scheduling process
Since:
22.0
GCApi:
event
Reactors:
BTImmediateSchedulingEnqueue(0)
No Spouts