Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

Execution Time Limit of Custom Work Flow Activity for CRM On-Premise 365

Posted on by

Hi

Greetings!!!

I have a genuine doubt. We are using CRM on-premise 365. Most of the plugins which are registered with the isolation mode as "none" are giving SQL time out error. So, I am trying with Custom Workflow Activity. In on-premise, will it work without giving the time out error as the logic is very complex and it has to update around 3000 records.

If it's not registered with "sandbox" mode, can I assume that timeout error will not come.

Thanks

Amit Kumar Rath

*This post is locked for comments

  • gdas Profile Picture
    gdas 50,085 on at
    RE: Execution Time Limit of Custom Work Flow Activity for CRM On-Premise 365

    Okay , then I guess the issue is in your code . Could you please share your code ?

  • RE: Execution Time Limit of Custom Work Flow Activity for CRM On-Premise 365

    Hi Gautam,

    My understanding is completely same as yours. But, coming to your line "So if you register plugin isolation mode set none and execution mode  asynchronous I don't think you will get the time out error."......I am getting SQL timeout error with the plugin registered with isolation mode 'none'.

  • Suggested answer
    gdas Profile Picture
    gdas 50,085 on at
    RE: Execution Time Limit of Custom Work Flow Activity for CRM On-Premise 365

    Hi Amit ,

    I believe you are aware that timeout error is coming when  plugin execution mode is  synchronous due to maximum limit is 2 miniute.If your process goes beyond 2 minutes system will automatically kill the process.

    So if you register plugin isolation mode set none and execution mode  asynchronous I don't think you will get the time out error.

    If you want your custom workflow to run more than 2 minutes register your workflow in Mode="none" and also make sure to run workflow in bakground .

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans