+ Start a Discussion

Platform Events design question


I am planning to implement Platform events for most of the after save operations on my account trigger. If I define a new platform event object for each operation, there could be too many platform events objects. Will it be the right approach to define platform events for each after save operation or is there a generic platform event object design?

P.S. I am going to use platform events to enforce async operation on the trigger.

Thanks in advance. 
My recommendation will be to check th Platform Event limits before using it.
Other alternatives are
1. Future Method
2. Queueable Interface
3. Aysnchronous Flow Execution
4. Change Data Capture
Magulan Duraipandian
Follow in Medium for more updates: https://infallibletechie.medium.com/
Emma Parkers 3Emma Parkers 3

It takes a lot of creativity to create a design for a project. I develop websites and my tasks are also to design it. I am helped by https://masterbundles.com , and a large selection of script templates and so on. It has all the necessary tools to create a unique design, and most importantly it is modern. I recommend it!