I have created 2 flows for Dynamics CRM, one that is triggered when an record is created, and the other for when the record is updated.
In a weird manner, both are triggered twice when a new record is created/updated.
Has anyone raised that before?
When record is created,it will sync to external application and send an email notification-it is working as expected.
After some time the flow will run and do the same action without any action from dynamics CRM side.
Expected:Whether it fail/success,it should be run one time only.
I verified all possible areas in CRM and MSFlow. We have't get this type of issue earlier. Recently, we got some latest Power Platform updates. May be that is the cause of this issue.
We can avoid that by using "Is sync" bool field. But why it is triggering twice?
There is no time frame. If record already synced/contained in external system,It will fail (Like 2 mail) and send error notification.That is fine.
Initially,when record created in CRM(ex: Test-1)
->It will get all required details and create record in external system.
->if everything is fine,It sends success email to users.
->If any error during the creation process,it will send error notification.
After some time,the same action(same record-Test-1) was triggered with out any action from CRM side.
Also If we create an other record (ex:Test-2),it is executed as expected.But It is taking previous one which is already synced(ex:Test-1) and do the creation action.
Check out the announcement of Power Platform content at Microsoft Ignite!
Join us for an in-depth look at the new Power Automate features and capabilities at the free Microsoft Business Applications Launch Event.
Features releasing from October 2020 through March 2021