Using CST Queue

The CST process will select from the CST queue. Each eligible load active in CST will have only one corresponding entry in the CST queue. Once a queue entry is picked, it will not be available until it is ready for the next step, so multiple services/horizontal scaling is possible on the CST server. Each service will just read from the queue for eligible entries that have not been picked by other services.

The following describes the process flow of the queue based CST when Global CST is enabled:

When CST is disabled globally, CST will allow the current step to finish but will not start a new tender to the next carrier on the carrier list. Users will be allowed to manually terminate the current step before it finishes.

When the global CST Enabled flag is changed from True to False, the CST server will continue reading from the CST Queue table and pick entries with eligible Scheduled Start Date/Time and Queue Entry Status. When the global CST Enabled flag is False, the CST processes will do one of the following:

The Stop CST operation will be allowed as long as the load’s current CST Status is Waiting or In Processing. The operation will update the load’s CST status to User Canceled and the corresponding CST Queue Entry Status to Canceled. This will prevent a load from becoming “stuck” in CST while CST is disabled.

When the global CST Enabled flag is set to True again, users will be expected to manually re-start or resume CST for applicable loads with CST status User Canceled. If disabling CST is temporary, and some of the CST queue entries have not been processed during the disabled time, that is, they have not been updated to Canceled CST status, they will automatically be processed when CST is enabled again and selection criteria based on Scheduled Start Date/Time is satisfied.

When global CST Auto Cancel Tender is changed from disabled to enabled, previously expired CST tenders will not be automatically tendered to the next carrier on the CST list. Users will be expected to manually cancel tender all expired tenders so that CST can resume.

When CST server is unavailable, all qualified loads and CST queue entries will not be processed until the service is available again.

The CST Queue table will be purged as part of the Load Purge.

For historical reasons, the CST Server uses the server name AUTOTDRSRV.