Why sObject is not allowed in future as an argument?

As it is an asynchronous process, the sObject can change between the time you call the method and the time it executes. It may be possible that the argument will receive the older version and can overwrite them.

Share your love:

Leave a Reply

Your email address will not be published. Required fields are marked *