Job state transition