Part 6 : Batch Apex Error Handling Using Platform Events
āļāļąāļ
- āđāļāļĒāđāļāļĢāđāđāļĄāļ·āđāļ 8 āļ.āļĒ. 2024
- In this comprehensive Salesforce development tutorial, we dive into the powerful world of Batch Apex and Platform Events to enhance error handling in your Salesforce org. ðâĻ
ð Key Topics Covered:
ð Introduction to Batch Apex and its use cases.
ð Understanding the basics of Platform Events and their benefits.
ð How to design and create a custom Platform Event for error handling.
ð Integration of Platform Events within Batch Apex for asynchronous error reporting.
ð Real-world examples and best practices for effective error management.
ð Optional setup of triggers on Platform Events for additional error handling.
Thank you Ankit sir for this video
Sharing this kind of knowledge ð
Glad u liked it
Sir can you make a video of how to publish the event in external system and to subscribe the event in Salesforce and vice versa
Will plan for it
Yes much needed @Ankit Sir.
Hello Ankit.. Your explanation is really Good. Kindly can you make more Api integrations session in more depth & at advance level.
Glad you liked it
We can subscribe to a platform event either via Flows or Triggers or Lightning Web Components.
yes correct answer, i have covered Flows and Triggers in part 5. This part is only for LWC
Thanks for the video . How can I do a similar thing for queueable ?
In document only Batch Apex is mentioned, I have not checked for queuable
Hi Ankit,
Please correct me if i am wrong, we can see the same info under the apex jobs, what is the benifit which we can get here by publishing the platform events ?.
I understand that we can get notified real time via tasks and we can resolve the issue ASAP.
Anything apart of this which i am missing to understand please confirm once you are free.
Log will not show you which record is failing and all additional details. moreover automation is not possible from logs
Task not created ðĒðĒ
Check the logs