Set the action of work order when it is finished by agents.