How to Add a Custom Property to a Service Bus Message in Dynamics 365 Finance and Operations

By Chris Bagge | June 5, 2023

When you raise an event in Dynamics 365 Finance and Operations a record inserts into the BusinessEventsCommitLog table. This table has a column called SerializedFilterProperties.

This column holds the name-value pair of the custom properties you want to add to the Service bus message. The way to add properties is by using a specific data attribute on a parm method of the contract class

That data attribute is BusinessEventsFilterDataMemberAttribute.

For instance:

    public str parmFolderPath(str _folderPath = folderPath)
        if (!prmIsDefault(_folderPath)
            folderPath = _folderPath;
        return folderPath;

Now if parmFolderPath were called with the value of ‘TEST’ the following JSON object would be added to the SerializedFilterProperties column once the event is raised.


When you add properties to the Service bus message a property of name FolderPath with the value of TEST will be added along with the standard properties.

Want to Learn More About Dynamics 365 Finance and Operations Customization?

Please reach out to us! Stoneridge has a great team with immense knowledge about Dynamics 365 Finance and Operations. Our goal is to help you get the most out of your software solutions.

Under the terms of this license, you are authorized to share and redistribute the content across various mediums, subject to adherence to the specified conditions: you must provide proper attribution to Stoneridge as the original creator in a manner that does not imply their endorsement of your use, the material is to be utilized solely for non-commercial purposes, and alterations, modifications, or derivative works based on the original material are strictly prohibited.

Responsibility rests with the licensee to ensure that their use of the material does not violate any other rights.

Start the Conversation

It’s our mission to help clients win. We’d love to talk to you about the right business solutions to help you achieve your goals.

Subscribe To Our Blog

Sign up to get periodic updates on the latest posts.

Thank you for subscribing!