web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Creating 20K records in CRM 2015 Online using custom workflow? Overcoming Timeout exception after two minutes

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi All,

We have three Entities A, B & C related as A:C (1:N) & B:C (1:N). Depending on business logic we have a requirement to create records of type C based on combination of both A & B. Assuming A records count = 10 & B records count=20, system has to create C records with combination of A & B which will be 200 in total. Ideally in Production we have to create up to 20K records.

When I do this in CRM Online 2015, I am getting System Timeout exception after two minutes. Any idea to over come this or any idea to break this logic into child instances?

Thanks, Shaik

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Aiden Kaskela Profile Picture
    19,696 on at

    Hi,

    You can't really do much about the timeout except run your process outside of CRM (some windows service that generates the records maybe). You could replace Entity C with an N:N between A & B, but that'll only help so much. If this answers your original question, I'd appreciate if you would mark this is the verified answer.

    The implementation seems super wasteful. It's probably going to be easier to change the implementation to get the results you're looking for. If you share some details on the requirement we might be able to come up with an easier implementation.

    Thanks,

     Aiden

  • Suggested answer
    Deeps Profile Picture
    1,875 on at

    If you know SSIS, you can use Kingswaysoft or CozyRoc adaptor and run SSIS pakcage form visual Studio to load data. No license required.

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans