The first step of processes queue.