Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Async service issue with data load

(0) ShareShare
ReportReport
Posted on by 155

We are using a windows service to load about 60 attributes from external database into CRM 2016 (which is working fine). The service picks top 2000 records in the database and sends it to the CRM. Also, if there are any updates made for these 60fields in CRM,the plugin should send updated fields & values to the external database. 

Every week we receive about 150k+ records that needs to get updated in the CRM. The issue is when the service update the value in CRM, the plugin is treating it as a change and getting triggered which is making the application slow.

System job show messages as :

Timeout expired.  The timeout period elapsed prior to obtaining a connection from the pool.  This may have occurred because all pooled connections were in use and max pool size was reached.

Execution Timeout Expired.  The timeout period elapsed prior to completion of the operation or the server is not responding.

Is there a better approach to avoid plugin to fire when the service updates the value in crm??

*This post is locked for comments

  • Verified answer
    David Jennaway Profile Picture
    David Jennaway 14,063 on at
    RE: Async service issue with data load

    If the value is not changing (i.e. the old and new value are the same), then the best approach is that the service should check if the values are the same, and if so, not include the attribute in the Entity instance it sends to the Update. Alternatively, you could change the plugin code to compare the Pre and Post values, and only send changes if the values are different.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,494 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,305 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans