If you want to create a business event to be triggered by a message, first create and set up a message business event. A message business event is a business event definition that is used to create a business event in D365 FO.
1. | Click Connectivity studio Integration Design. |
2. | On the Message tab, in the list, find and select the desired message. |
3. | Click Edit. |
4. | On the Action Pane, click Design. |
5. | Click Message business event. |
6. | Click New. |
7. | The business event ID is composed by a prefix and the target connector type: [prefix]_[target connector type]. You can use the same prefix for several message business events. In this way you can link an existing business event to the message business event. In this field define the prefix. |
  | In the Prefix field, type a value. |
  |
Note: The target connector type as used in the business event ID can be: |
8. | Define the name for the business event. The default name is composed of the project ID and the message ID: [project ID]_[message ID]. You can change the event name as desired. |
  | In the Event name field, type a value. |
9. | Enter a meaningful description for the business event. The default description of the business event is: "Event triggered after run of message [message ID] of project [project ID]" You can change the description as desired. |
  | In the Description field, type a value. |
10. | Define when the business event is processed: - Never: The business event is not processed. - Error: The business event is only processed if an error occurs during the message run. - Finished: The business event is only processed if the message has run successfully. - Always: The business event is processed when the message has run. |
  | In the Send business event field, select an option. |
11. | Sub-task: Define additional content from target document. |
11.1 | You can define additional content from the target document to be sent with the business event. |
  | Expand the Target field section. |
11.2 | Click Add line. |
11.3 | In the Response field field, enter or select a value. |
12. | Sub-task: Define additional content from source document. |
12.1 | You can define additional content from the source document to be sent with the business event. |
  | Expand the Source field section. |
12.2 | Click Add line. |
12.3 | In the Response field field, enter or select a value. |
13. | Sub-task: Create Connectivity business event in Business events catalog. |
13.1 | If the message business event definition is set up, create a business event in the Business events catalog. The business event is created based on the message business event definition and gets the category 'Connectivity'. |
  | Click Create connectivity events. |
  |
Note: |
14. | Close the page. |
You can also view message business events in these ways:
Related to | Notes |
---|---|
Set up business event for message |
  |