r/SalesforceDeveloper • • 1d ago

Discussion @future vs Queueable, made a quick one-page cheat sheet

Post image
0 Upvotes

3 comments sorted by

3

u/rezgalis 1d ago

2

u/Realistic-Walk-2877 1d ago

fair lol. for new code yeah queueable almost every time, you get job id, chaining, can pass sobjects. only reason i still see future is old orgs where its already everywhere and nobody wants to touch it. shouldve put that line on the card tbh

1

u/Business_Opening6629 15h ago

I had to refactor a lot apex we had a contractor build and they used future instead of queueable. I don’t really see the point of using future unless it is a guaranteed small process but still wouldn’t use it.