In a mortgage there are only two parties, the lender and the borrower and the Lender has to go to court in front of a judge to foreclose. California is not a Mortgage state. Does not mean that mortgages can't exist here, if they do it is going to be rare.
In California we use a Deed of Trust which involves three parties. The Borrower known as the Trustor, The Beneficiary known as the Lender and the Trustee - a third-party that holds the title in trust until the loan is repaid.
The term mortgage is used loosely here in California much like Xerox or Kleenex.
For more information see http://goo.gl/45vnN This link has a detailed article on California Foreclosure Time Frames
If you are planning to use a Lis Pendens to try and stop a foreclosure (if even possible) or create a cloud on title on a property that is in the foreclosure process, be very very careful. As Barry suggested get advise from an attorney.
I have a couple articles on my Real Estate Blog:
http://goo.gl/JdnOn This link has a detailed Q & A on California Lis Pendens prepared by the California Association of Realtors Legal Department.
http://goo.gl/45vnN This link has a detailed article on California Foreclosure Time Frames
If you are facing foreclosure and looking for options, please fee free to call me as I have experience helping other home owners. My resume is on my Blog at http://goo.gl/YWW6N