Everything You Need to Know About Async Apex
Вставка
- Опубліковано 2 лип 2024
- Interested in consulting? www.1sync.co/contact
-----------------------------------
In this video, we discuss how to use asynchronous apex in Salesforce development. Asynchronous apex, or async apex for short, is the idea of processing data in the background. We can use interfaces like queueable, schedulable, batch, and future to make asynchronous apex. Queueable in apex is one of the most used functions, and allows Salesforce developers to chain job, and make web callouts. Explore how to write better apex code by leveraging async apex in today's video.
-----------------------------------
Chapters:
0:00 Intro
0:39 Queueable
3:14 Future
4:50 Schedulable
5:21 Batch - Наука та технологія
Thanks for showing the differences. Do you have any recommendations on how to implement retry logic ?
It depends on what you are doing, and why the job failed. This framework is a good starting point: github.com/jantaks/salesforce-apex-retry