Register For Our Live Webinar WorkshopRegister Now

Technology trends, insights, success
stories and other helpful resources.

Introduction to Business Events in Dynamics 365 FINOPS

September 6th, 2019 Intech SystemIntech System Dynamics 365

In the latest spring 2019 updates, Microsoft Dynamics 365 FINOPS has some new features which have the potential to simplify the integration with the services and applications. Business Events is one of the new features.

What is Business Events?

It is a mechanism which let the external systems receive notification from D365 FINOPS. The systems can perform business actions in response to business events.
It is used as a trigger point from the Dynamics 365 FinOps.
Business Events occur when a business process such as Purchase Order confirmation, Sales order invoice, payment posting or even a workflow approval is performed. During a business process, users who participate in it perform business actions to complete the tasks that make up the business process.
Endpoints such as Azure Service Bus and Microsoft Flow helps to manage the destinations that Finance and Operations must send business events to. Currently, the following endpoints are supported

  • Azure Service Bus Queue
  • HTTPS
  • Azure Service Bus Topic
  • Azure Event Grid
  • Microsoft Flow
  • Azure Event Hub

Multiple endpoints are created as and when there is a scenario.

What is Business Event Processing?

Finance and Operations allocate dedicated batch threads to process business events in near real-time. The maximum number of threads cannot exceed the total threads available in the system

business event 19

Threads are a shared resource while changing thread allocation in Business Event it must be taken care of.  The corresponding menu item to schedule the business events batch processor has been removed to avoid any confusion for users. Dedicated threads are allocated to process business events by the system, which ensures faster processing of business events.
If the batch job was scheduled in one of the earlier platform releases, the batch will become ineffective after the update to the latest platform and dedicated processing will occur automatically.

Prerequisites

Business events are available in latest version of Dynamics 365 FinOps.
Business events can be consumed using above-mentioned services. Therefore, customers must bring their subscriptions to such assets to use business events.

Business events that are implemented in Finance and Operations

In Finance and Operations, business events are implemented in some business processes out of the box. These business events include both workflow and non-workflow business events. A developer must use extensions to implement new business events.

How to access the Business Event catalog?

business event 20

It lists the business events that are available in the instance of Finance and Operations that user is using. The catalog is useful because it shows which business events are available, and the user can filter it by category, business event ID, and name.

  • Business events that originate from the workflow system are assigned to the Workflow category.
  • For business events that originate from other modules, the module name is used as the category name.
  • The business event catalog is built during database synchronization at the time of deployment
  • We can create a new business event as per customer requirement

Users should see the complete list of business events in the catalog. If an explicit update of the catalog is required, select

business event 21

Business Events 1

For each business event, the business event catalog shows a description. This description can help users to better understand the business event and its context in the business process. The catalog also shows the list of data fields that will be sent out in the event.
In cases where external integration systems require the schema of the payload for a business event during development, user can select Download schema to download the JavaScript Object Notation (JSON) schema.

Business event consumption models

The integration requirements and integration solution design for implementations vary. The integration requirements play a role in identifying the consumption model for business events.
User must consider the following points when they design integrations that use business events:

  • Business events can be consumed using Microsoft Flow, Service Bus, Event Grid, or other endpoint types
  • Customers must bring their own subscriptions to use Microsoft Flow, Service Bus, Event Grid, or other endpoint types
  • A business event can be activated in all legal entities or in specific legal entities
  • A business event can be sent to a unique endpoint or the same endpoints
  • Microsoft Flow can directly subscribe to business events

How to Consume Business Event using Microsoft Flow

Go to Microsoft Flow

Business Events 2

 

Click Flow Tab

business event d365

 

Click New > Below Screen will Open then click on Instant-From blank.

business event 4

 

Popup Will be Open and select Microsoft Flow and click on Create button.

business event 5

 

Type 365 and Select Dynamics 365 for Fin & Ops.

business event 6

 

Click on Business Events.

business event 7

 

Fill all the elements with details

business event 8

 

Instance– Specify the hostname of the Finance and Operations instance where business events occur.
Category – Select the category of business events such as Purchase Order, Sales Order, Account Payable, Account Receivable, etc.
Business Event – The available business events in the selected category like PO Confirmation, Sales Confirmations, etc.
Legal Entity – Specify the legal entity where the business event is being subscribed to, INMF for example

Next step and type Parse in the search box and select Pars JSON

 

business event 9

 

business event 10

 

In content text box select body

This Parse Json is used when Downloaded Schema is posted here and the Flow Dynamic Content is automatically flowing here.

business event 11

 

Then go back to D365FO and select Business Event and Download the Schema file and paste Parse JSON

 

business event 12

 

business event 13

 

business event 14

 

business event 15

 

business event 16

 

Save your flow

Business Events 11

 

The flow display as below
Business Events Flow

 

Once the user’s Purchase Order is created or confirmed, automatically mail will generate.
This is it, for now, a simple explanation on what Business Event is how it can be connected to Microsoft Flow. Till next time!

Please check some helpful links
Business events developer documentation
Use cases for business events

You can contact our sales experts if you wish to know more about Dynamics 365 Finance and Operation.

Recent Post

Corporate Profile

Request Demo Download Brochure
Contact Us

How we can help you!

Talk to Dynamics 365 experts for your concerns

Contact Us
Contact Us

How can we help? - Talk to Dynamics 365 experts for your concerns

    Join our mailing list for news updates, invitations, and more