Any action in which no pleading has been filed or other action taken for a year and in which no motion or demurrer has been pending during any part of said year shall be dismissed without prejudice by the court on its own motion after notice to the parties or their attorneys of record; providing, the court may upon written application and for good cause shown, by order in writing allow the action to remain upon its docket.
Okla. Stat. tit. 12, § 1083