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.
We are excited to announce the launch of Power Virtual Agents Community. Check it out now!
We've updated and improved the layout and uploading format of the Power Automate Cookbook!
Fill out a quick form to claim your user group badge now!