The State transition of a bot process guides you through the stages of its life cycle.