cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
AngelaBrinkman
Microsoft
Microsoft

Trigger when field is updated in D365 F&O

Hi there!

 

I'm a newbie in the field of connecting Dynamics 365 and Power Automate 😊. I would like to create a Power Automate flow that is connected to my Dynamics 365 Finance & Operations demo environment. This flow should be triggered by an update or a change in a field of a certain record, for instance a change in data of a certain customer or a fixed asset in my D365 F&O environment. Which trigger should be used in this flow? 

 

Thanks in advance,

Angela 

3 REPLIES 3
Expiscornovus
Super User
Super User

Hi @AngelaBrinkman,


You could create an alert rule in Dynamics 365 F&O for this event. From Power Automate flow you could use the Category alerts and the Business event 'When an alert rule is triggered' in the When a Business event occurs.

 

In the settings of the action you filter for your specific alert rule id.

 

Below is an example of that approach.

 

@equals(triggerOutputs()?['body/RuleId'], '000073')

 

50953355318_6183a1c944_o.png50953355308_464933e1bb_o.png

Thank you very much @Expiscornovus for your detailed answer! I managed to solve this problem by using a Dual Write solution and the Dataverse connector, but this seems much easier so I will try this too, thank you :). 

Expiscornovus
Super User
Super User

Hi @AngelaBrinkman,

 

Yes, enabling Dual-Write for F&O can be a bit more work 😁

Helpful resources

Announcements
Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Top Solution Authors
Top Kudoed Authors
Users online (1,419)