On its own motion or on the written request of a party to a contested case pending before it, a state agency shall issue a subpoena addressed to the sheriff or to a constable to require the attendance of a witness or the production of books, records, papers, or other objects that may be necessary and proper for the purposes of a proceeding if:
Tex. Gov't. Code § 2001.089