Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Answered

How to update bunch of child records without timeout?

(0) ShareShare
ReportReport
Posted on by 21

In general when there are only a few child records it's not a problem using a loop inside a plugin. But if you have a bunch of child records it can exceed the execution timout of 2 minutes. As far as I know processes with a long runtime should be excluded from plugins and webhooks should be used instead. Are there any other methods to avoid timeouts in this scenario?

  • Verified answer
    meelamri Profile Picture
    meelamri 13,206 User Group Leader on at
    RE: How to update bunch of child records without timeout?

    Hello, 

    You can implement your plugin as an azure function. You can configure Dynamics 365 to call your azure function webhook using Plug-in Registration tool. Please refer to this great blog, it explains the whole process to create your first plugin as an azure function.

    https://us.hso.com/blog/writing-microsoft-dynamics-365-plug-ins-in-azure-functions/

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,784 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,476 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans