. . . . "the property; (C) The action is to foreclose a mortgage, cancel a contract for sale, or to enforce a lien upon or a security interest in real or personal property in this state; (D) The plaintiff has acquired a lien upon property or credits or the defendant within this state by attachment, garnishment, or other judicial processes and the property or credit is the subject matter of the litigation o" . . .