When it appears to the court by affidavit that either party to an action has been dead, or where a party sues or is sued as a personal representative, that his or her powers have ceased for a period so long that the action cannot be revived in the names of his or her representatives or successor, without the consent of both parties, it shall order the action to be stricken from the trial docket.