CRM – Workflow’s have stopped working – restart the service

I am the CRM man at work, this lofty title means every time something isn’t working correctly or someone wants to know how to do something they ask me.

This is fine because I work with CRM all the time and some people are flirting in out working on different projects and different technologies.

This does mean I am often confronted with a problem on a CRM installation I have no idea how it should work which makes it it difficult to diagnose the problem.

Today I had a problem with a workflow not working.  Workflow’s are often tricky things to fix because they usually rely on lots of values being in certain states and can be data issues.

The first thing I usually try if a workflow isn’t working is to restart to the Microsoft CRM Asynchronous Processing Service.  What can happen is the CRM Async service can get bogged down or overloaded or just stop working.  Then all the workflows will get put into a pending state and start queueing up.

For those of you who don’t know workflows and maybe plugins get run using the CRM Async service, which runs them in a non priority way.  Most of the time this is a good system because it doesn’t bog down the main web front end of CRM but it can get itself in a bit of a mess and then suddenly you realise how many things are being run from the CRM Async service.

There isn’t any real way to know this is happening in CRM apart from the workflows not seeming to do much because it’s a separate windows service.

you can go to SETTINGS/SYSTEM JOBS and then looked at Suspended System Jobs or Locked System Jobs

The suspended jobs will show you a list of jobs which tried to run, couldn’t and then have got put into a pending state, waiting for CRM Async service to sort itself out.

In this case I restarted the CRM Async service and then some of the workflows burst back into life and some of them had to be set to resume.

Advertisement

9 thoughts on “CRM – Workflow’s have stopped working – restart the service

  1. the_sdm March 1, 2012 / 4:45 pm

    how can i restart the crmasyncservices?

    Like

    • Hosk March 1, 2012 / 5:26 pm

      You need to log onto the CRM Server, go to Services either through Administration tools/control panel and then find the Microsoft Dynamics Async service and click on it and press start

      Like

      • the_sdm March 1, 2012 / 5:29 pm

        thanx :))
        i managed to find the service (i have the french version), the services to restart are :
        – Service de traitement asynchrone Microsoft Dynamics CRM
        – Service de traitement asynchrone Microsoft Dynamics CRM (maintenance)

        Like

    • the_sdm March 1, 2012 / 5:30 pm

      ps : very good blog 😉

      Like

  2. martin1845 March 19, 2017 / 1:49 am

    what if a workflow stopped middle of the process and we try to resume it will resume from beginning or from where it was stopped

    Like

    • Hosk March 19, 2017 / 3:07 am

      You can try resuming a single workflow and if it didn’t error it will usually try again.

      The problem you are usually facing is you have 100’s or 1000’s or more workflows in that state.

      You can also have the problem of versions, if a workflow has been upgraded.

      Like

      • martin1845 March 19, 2017 / 3:52 am

        does it resume from where the workflow is stopped

        Like

  3. martin1845 March 22, 2017 / 10:26 am

    where does global option set label value stored and how to get that value in ms crm

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.