I have inserted a contact and tried querying in next line, but i am getting no record.
Contact con=new Contact(lastName='Pikachu'); insert con; System.debug(con.id); //This is printing the contact id which is real i checked via viewing in detail page con=[Select id,name,lastName,someFormulaField__C from contact where id=:con.id]; //Some code
Am getting List has no rows for assignment exception all of a sudden, this code used to work without any hassle just few hours back.
I tried querying the same id in workbench ,still got no records, but when i try after a minute or two i get record. My instance is Cs31, is something wrong with salesforce?
Anyone faced something similar problem?