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 2Discover the latest updates and new features releasing from October 2021 through March 2022.
2021 release wave 2 plan
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Community | FastTrack Program | Finance and Operations TechTalks | Customer Engagement TechTalks | Upcoming TechTalks | All TechTalks
I have a Plugin that calls an external Web Service on activate quote button click. The process is this below:1. The User clicks on Activate Quote button2. Plugin calls the external web service and gets a return.3. Then, i update one field of all the quotedetails with a new value returned by the web service.
This process have taken more then 5 minutes to complete, sometimes the user needs to wait 10 minutes. This time grows based on number of quotedetails in the Quote.
So, how can i reduce this time to finish that process?
Note: The plugin is running on real time and can't be assync.Note: If the quote have 300 items, so the plugin will run 300 service.Update().
I see you are using crm 2016, instead of running 300 seperate service.update()you can use ExecuteMultiple to put this into batches,this should help speed things up a bit.
heres a link to blogs/documentation that may be of help:msdynamicscrmblog.wordpress.com/.../use-executemultiplerequest-for-bulk-createupdatedelete-using-c-in-dynamics-crm-2011-2
Regards, David Levins
Thanks for the answer.
I tried to use the solution that you said but didn't improve the performance of update.
Some google, and i found this article about ExecuteMultipleRequest, and makes all sense for me.
Any other idea?
Note: I need to do this process on real time, its an business requirement of the customer.
I did all the update process from a async web service.
You can avoid 300 calls of Update method using ExecuteMultipleRequest .
Business Applications communities