Posts

Showing posts with the label Power Automate

Event-Driven Architecture: How to Create Custom Business Events in Business Central

Image
Introduction Events are notifications that signal something has happened in the system. A record getting created, updated or deleted, a sales order getting posted, etc are all examples of events. An event driven architecture provides asynchrony and decoupled communication between different components of the system supporting flexibility, scalability and modularity. In Business Central, we have two main types of events - Business and Integration. Integration Events are related to things within Business Central. They are use for extending the functionality of the Base Application without modifying it directly. Business Events are related to things outside of Business Central. They are used for notifying external systems (e.g., via Power Automate or Logic Apps) regarding any changes that happen within Business Central. Microsoft allows us to create custom Integration and Business Events based on our requirements. In this blog, we'll see how to create a custom Business Event and...

From Commit to Inbox: Automating Change Summaries with Azure AI

Image
Introduction In our small development team, we usually merge code without formal pull requests. Instead, changes are committed directly by the developer responsible for the project, and while I don’t need to approve every change in my role as the senior developer, I still need to stay aware of what’s being merged.  Manually reviewing each commit was becoming too time-consuming, so I built an automated process using Power Automate, Azure DevOps, and Azure AI. Now, whenever a commit is made, it triggers a workflow that summarizes the changes and sends me an email. This simple system keeps me informed without slowing down the team’s work. Although I kept the automation straightforward, it could easily be extended further. For example, it could be improved to allow me to reply directly to the committer from the email or even display file changes in detail using a text comparison feature in Outlook. We didn’t need that level of detail, but it’s a good option if deeper insights are ever ...