Answer: When the person or thing performing the action is unimportant or unknown.
Explanation: If you want to draw attention to the doer, use the passive voice; if your intent is to put the focus on the action, then you should go for the active voice.