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

Notifications

Announcements

No record found.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans