In the last How To Salesforce, we covered what to do when SOQL ignores null checks on required lookup fields. In today's post, we are going to cover a few key points when working with Future Methods. But before we do, let's talk about what a Future Apex is. Future Apex is used to run processes in a separate thread, at a later time when system … [Read more...]
What is a Future Method
What to do when SOQL ignores null checks on required lookup fields
SOQL ignores null checks on required lookup fields: Suppose you have one object and some of the records are there on that object. Now when you create one new Lookup field and make it required that means all the existing records will have a null value for that new required lookup field. SOQL seems to expect that required fields can never be … [Read more...]