Difference between SObject and Platform Events
SObjects__c | Platform_Events__e |
DMLs (Insert, Update, Delete) | Publish (Insert only) |
SOQL | Streaming API |
Triggers | Subscribers |
Parallel context execution | Guaranteed order of execution |
Considerations :-
- Platform event is appended with__e suffix for API name of the event.
- You can not query Platform events through SOQL or SOSL.
- You can not use Platform in reports, list views, and search. Platform events don’t have an associated tab
- Published platform events can’t be rolled back.
- All platform event fields are read-only by default
- Only after insert Triggers Are Supported
- You can access platform events both through API and declaratively
- You can control platform events though Profiles and permissions
Summary
Platform events simplify the process of communicating changes and responding to events. Platform events can be used to Overcome Salesforce Governor Limits.
No comments:
Post a Comment