The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Hot answers tagged


The main flag that can tell you a retry has happened, is that a new ID you stashed in a static variable is no longer valid. If your trigger code creates any new records you could check those IDs against the DB. I wish Salesforce gave us a better way to do this. One crafty way I thought of in another thread was to enqueue a disposable Queueable class, for no ...

Only top voted, non community-wiki answers of a minimum length are eligible