CardBoardFish
You are here: CardBoardFish > BatchSender > MessageLifeCycle

Batch Sender Message Life Cycle

Batch States

It is useful to understand the various states that a batch passes through in order to monitor its progress. The different states are described below.

Batch State Diagram

batchstate.png

Pending

Batches are in the Pending state when they have been paused. A batch is paused if the automatic end time is reached, or if the batch could not complete fully due to some numbers failing. Alternatively, the user could have paused the batch. Once in this state, a batch can be resumed or canceled.

Waiting to send

A batch enters this state when it is about to be processed, either because the batch has just been uploaded, or it has had a delayed start time which has just passed, or it is being resumed by the user. In this state, a batch will be listed under the Pending Batches screen. This state should not last for more than a minute.

Sending

In this state, a batch is being processed and the SMS are being sent to the mobile numbers. Once all numbers have been processed and there have been no failures, the batch will be moved to the Completed state. If there have been some errors, the failed numbers will be moved to the end of the list and the batch will be moved to the Pending state. If a batch reaches its automatic end time it will be paused. The user can also pause the batch manually.

Completed

This is the final state that a batch enters after it is completed or if the user cancels it. Once in this state, a batch cannot be moved to any other state.