Monday, August 26, 2024

Business events

 Scenario:-In this blog I will show you how to share json data from d365fo to mail by using business events

Step1:-First of open logic app and add a trigger point fin & ops then choose when a bussinesseventOccurs trigger

Note:-Save the trigger.

Step2:-Whenever we save the trigger in azure a new endpoint will be added in business event catalog in d365fo

Step3:-Go to Purchase order confirmed business events and download payload for future references

Step4:-Use parse json in logic apps as json data which ever we received can't be use directly

Step5:-Now use fin & ops connector and choose list items present in table connector 

Note:- we use this connector because we can't get entire data in business events because firing time and load may effects. This is why we use list items present in table connector .its a OData query again

Step6:-Take foreach loop and choose line data now by passing enough filters and cross query true

Step7:-now use data operations and choose select for map tabular data

Step8:-Compose output and send to mail

Step9:-Now open d365fo create a purchase order and confirm the purchase order

Step10:-Open mail and check for new message



Keep Daxing!!

No comments:

Post a Comment

Upload File from local system in a form

 Actions to be done at 3 stages  1) Create Fileupload item by right clicking on design as shown in image below 2)Change Properties especiall...