The plaintiff shall, from the time such property is taken possession of by the officer, have a lien on the interest of the defendant therein, and may, either before or after the plaintiff obtains judgment in the action in which the attachment issued, commence action by equitable proceedings to ascertain the nature and extent of such interest and to enforce the lien.
Iowa Code § 639.38