Sample @future code – ready to process when resources are available


When to use?
Long-running processes or external calls
When it’s not batchable

Asynchronous process without concurrent limit
Easier and quicker to implement as opposed to batch

Parameters passed in can be only of primitive types
Can’t chain @future methods
Difficult to access job id

Leave a Reply

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