+ Start a Discussion
Kumar_ShahKumar_Shah 

Platform Events design question

Hello,

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. 
MagulanDuraipandianMagulanDuraipandian
Kumar,
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/