Personalized Community is here!
Quickly customize your community to find the content you seek.
Have questions on moving to the cloud? Visit the Dynamics 365 Migration Community today! Microsoft’s extensive network of Dynamics AX and Dynamics CRM experts can help.
2021 Release Wave 1Discover the latest updates and new features to Dynamics 365 planned April 2021 through September 2021.
Release overview guides and videos Release Plan | Preview 2021 Release Wave 1 Timeline
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance and Operations TechTalks | Customer Engagement TechTalks | Upcoming TechTalks | All TechTalks
We have Dynamics 365 CE 9.0 Online environment with a plugin that being fired by an action message and the process sometimes takes over the 2 minutes.
Due to the limitation of the 2-minute timeout, the plugin throw an error.
I read that we can use Azure Functions in order to bypass Dynamics 365 CE 9.0 Online limitation of the 2-minute timeout.
My concern is:
Dynamics Plugins runs in transaction, if an error occurs during execution, the entire process is roll backed and no data will be persisted/updated. How can I achieve the same result within the Azure Function?
I'm looking to find the best solution.
Can you please give more information about your scenario?
The plugin is registered on a custom action. The action is called from a console application and it executes custom business logic which contains queries, create and update operations performed on many records from different custom entities.
If creates/update are independent you can use ExecuteTransaction request - docs.microsoft.com/.../use-executetransaction
If those are dependent it becomes more challenging.
if with "dependent" you mean: create the parent record A, create B: the child record of A, create C: the child record of B... then yes, they are dependent
Then... you will have to use something like following - www.dynamict.eu/.../
Business Applications communities