States of the route destinations

The life cycle corresponds to a succession of states through which a process passes. The life cycle of destinations consists of the following states:


  1. Created: It is the initial state of every client destination that has been newly created
  2. Started: Corresponds to the state where the driver assigned to the route starts the trip to the determined destination. Each time a destination enters the initiated state, the arrival times are reset.
  3. Arrived: Corresponds to the state where the driver arrives at the previously started destination.
  4. Completed: Corresponds to the state to indicate that the service was delivered correctly.
  5. Skipped: Corresponds to the state to indicate that the service was not delivered.


The starting warehouse has only the first two states that the clients destiny possesses, previously described.


The term warehouse has the same status as the customer destination.


The time windows and the driver break time only have the first two states described.