Geeks With Blogs
Sathya Narayanan Srinivasan .NET Developer May 2012 Entries
How to Overcome or fix MIXED_DML_OPERATION error in Salesforce APEX without future method ?
How to Overcome or fix MIXED_DML_OPERATION error in Salesforce APEX without future method ?MIXED_DML_OPERATION :-one of the worst issues we have ever faced :)While trying to perform DML operation on a setup object and non-setup object in a single action you will face this error.Following are the solutions I tried and the final one worked out :-1. perform the 1st objects DML on normal apex method. Then Call the 2nd objects DML through a future method. Drawback :- You cant get a response from the future ......

Posted On Friday, May 25, 2012 7:30 PM

Copyright © sathya | Powered by: GeeksWithBlogs.net