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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

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

(0) ShareShare
ReportReport
Posted on by 2

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

I have the same question (0)
  • Suggested answer
    gdas Profile Picture
    50,091 Moderator on at

    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 .

  • rath.amit38@gmail.com Profile Picture
    2 on at

    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'.

  • gdas Profile Picture
    50,091 Moderator on at

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

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
JS-09031509-0 Profile Picture

JS-09031509-0 3

#2
AS-17030037-0 Profile Picture

AS-17030037-0 2

#2
Mark Eckert Profile Picture

Mark Eckert 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans