Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Suggested answer

Business events payload

(1) ShareShare
ReportReport
Posted on by 308
Hi,
 
It is known that if we need to use business events, the payload needs to be light in weight. May i ask what is the definition of light weight? So if we return 100 fields, is this considered heavy? Or what is the max acceptable number of fields we should return? And what would be the effect if we return alot?
  • Suggested answer
    Kevin Xia Profile Picture
    Kevin Xia Microsoft Employee on at
    Business events payload
    Hi,
    The concept of a "lightweight" payload for business events generally refers to sending only the essential data needed for the specific business process. The goal is to minimize the amount of data transferred in order to improve performance, reduce latency, and avoid overwhelming the system or the downstream components that consume the event.
    Returning 100 fields in a business event payload is considered relatively heavy, especially if many of those fields are not directly relevant to the specific event. There isn't a strict, fixed number of fields that defines "lightweight" or "heavy" as it can vary based on your specific use case and the performance characteristics of your Dynamics 365 environment. However, it's a best practice to keep payloads as minimal as possible.

    The effect of returning a lot of data in business event payloads can include:

    1. Performance Impact: Heavier payloads can slow down the processing of events, impacting system performance and responsiveness.

    2. Increased Latency: Large payloads take longer to transmit and process, potentially increasing the time it takes for the event to be processed.

    3. Resource Consumption: The system's resources, such as memory and CPU, may be more heavily utilized when dealing with large payloads.

    To keep payloads lightweight, you should only include the data necessary for the specific event and its consumers. If you find that you need to send a large amount of data, consider whether it's possible to break the data into smaller, more targeted events or use other integration methods to transfer bulk data.
    Best regards,
    Kevin

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,979 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,848 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans