Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Confusing about CRM using "Messages" with the Organization service, can anybody explain why they use "Messages"?

(0) ShareShare
ReportReport
Posted on by 137

I just started learning CRM development, when I read the documentation, one terminology "Messages" is confused me.

For example, below link:

https://docs.microsoft.com/en-us/powerapps/developer/common-data-service/org-service/use-messages

From my understanding, it should use "Events" instead of using "Messages", because actually, the "Messages" word used in Organization Service pipe line, it really is all Events triggered.  So I have to remember it in heart it meant events or methods in here. Because, really, they are the action events or action methods, and Messages is a noun and misunderstanding here.

Can anybody have any insight why CRM uses "Messages" and not using "Events" or "Methods" in this context?

Thanks

*This post is locked for comments

  • Peter Cong Profile Picture
    Peter Cong 137 on at
    RE: Confusing about CRM using "Messages" with the Organization service, can anybody explain why they use "Messages"?

    Thanks for all responses, which help me a lot.

    I think CRM use the noun of  "Message" as a verb in IOriganation Piple line, actually, the "Messages" is really transferred as message in request and response,   which confuses us a lot.

    The inconvenience thing is that I have to remember it in heart whenever I read the documentation related to CRM Event pipeline of IOrganization service, and translate the "Message" in this perspective as "Event" or "Method" to be triggered.

  • Martin Donnelly Profile Picture
    Martin Donnelly 1,016 on at
    RE: Confusing about CRM using "Messages" with the Organization service, can anybody explain why they use "Messages"?

    I can't speak for CRM but in the early days of OOP Microsoft accurately adopted the term "listener" for the thing that receives and handles events.  And, of course, listeners listen for messages.

    If only this were the worst thing about Dynamics!  How about product families that do nothing but paint pretty tree pictures?  I would say they have the most dim-witted, short-sighted product managers around except at my last job...

  • Verified answer
    gdas Profile Picture
    gdas 50,089 Moderator on at
    RE: Confusing about CRM using "Messages" with the Organization service, can anybody explain why they use "Messages"?

    Agreed with you Peter. The  "message" terminology bit confusing . I think the message came from request message of service. You are basically doing CREATE , RETRIEVE..etc as a  request .All are Create,Retrive,Assign etc. are the  method of organization service to manipulate data in CRM.

    Now if you say in terms of  plugin registration tool perspective those message  are   convert as an event however to keep align with the terminology you can see  "message"  options where you are passing those Create, Assign request message.

    So don't be confused , just remember as terminology.

  • Verified answer
    Kokulan Profile Picture
    Kokulan 18,052 on at
    RE: Confusing about CRM using "Messages" with the Organization service, can anybody explain why they use "Messages"?

    Hi

    Yes its confusing when the term Message is used for both event and actual request and response messages.

    From my understanding, the term message steps form when you send a request to CRM, you are sending a Message and when you receive a Response from CRM you are receiving a Message - This can be called Message no confusion 

    When you invoke Create, internally it is CreateRequest message and once its created you receive Response, both CreateReqest and CreateResponse are messages here

    However, when a Record is created, if a plugin, or workflow triggers,  the Create is actually an event but it is called most of the time called message as well. This is a confusing use of the word Message

    6114.ScreenClip-_5B00_431_5D00_.png

    In short, the term Message comes the the idea of Request and Response messages but its used for both Event and Request/Response in the system.

  • Suggested answer
    Rawish Kumar Profile Picture
    Rawish Kumar 13,756 on at
    RE: Confusing about CRM using "Messages" with the Organization service, can anybody explain why they use "Messages"?

    Hello Peter,

    Message in dynamics crm context is mainly around Plugins/Code. Dont get confused with events because both messages and events are same and used in same context.

    in fact events are commonly called as "messages" in dynamics terminology and sometimes used along with each other like below.

    there more than 100 event messages in dynamics crm on which you can register your code :)

    Hope it makes sense.

  • David Jennaway Profile Picture
    David Jennaway 14,063 on at
    RE: Confusing about CRM using "Messages" with the Organization service, can anybody explain why they use "Messages"?

    There are 2 scenarios to consider:

    1. If you are calling the API, e.g. to Update a record
    2. If you are writing a plugin that runs within the event pipeline, to respond to an action - e.g. if you want to run code when a record is Updated

    In the first scenario, the term 'Method' is most appropriate, and in the second scenario, the term 'Event' is most appropriate. Within the documentation, Microsoft decided to use the term 'Message', so that it can be applied in both scenarios.

  • Suggested answer
    Guido Preite Profile Picture
    Guido Preite 54,073 Moderator on at
    RE: Confusing about CRM using "Messages" with the Organization service, can anybody explain why they use "Messages"?

    it's just terminology, Dynamics CRM is a product with more than 15 years, some things inside the platform are retain from the past.

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

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

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,409 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans