We already knew that Morena would be back this season, we just had to know when. The "mystery" is over. 'War of the Roses', written by Ken Woodruff, is the name of the episode. Her character, Erica Flynn, first appeared in the episode 'Every Rose Has Its Thorn', also written by Woodruff.
Source: The Mentalist Writer.