In this post, I will touch base on troubleshooting Business Events in D365FO.
Below points must check
1.We have to do the full build and sync
2.Batch service should be running
We might face issues in executing Business events after data refresh or deployment to Tier 1/Tier 2 environments.
- Check if there are ‘Active Events’ for the Business Event you are looking for. This can be found in System Administration -> Set up-> Business Events -> Business Events Catalog.

There should be at least one active event. If not, the trigger doesn`t happen.
To create one, go to Endpoints and choose the option which
In my case, the BE is called from logic apps. So If there are no records found in ‘Active Events’ , I disable and enable the Logic apps entity ,thus a new connection is created here.
2. When a business event is triggered and if there is no response, check the table ‘BusinessEventsCommitLog‘.
This table should not have any record if BE is processed successfully. If there are records, then it means we need to check other parameters.
3. In order for BE to execute, Batch service should be running successfully. In Dev machine , we can check if the Batch service is up from Services.msc.
Other troubleshooting Batch issues are given in this post . Though the post speaks about Ax2012, it is applicable for D365FO as well
4: View the records in this table by using sql server management studio again and running this query:
select * from BUSINESSEVENTSEXCEPTIONLOG order by EventTime desc
5: Go to the ‘Business Events catalog’ form in D365, and then click on the ‘Errors’ tab. There is an ‘exception message’ that will tell you what error occurred.
No comments:
Post a Comment