Search code examples
dynamics-crm-2011dynamics-crmcrm

Is it okay to restart the CRM Asynchronous Processing Service at any time?


I just finished registering a custom workflow with the plugin registration tool. My custom workflow shows up in the possible steps I can choose when creating a workflow, but when I select it I get a generic "An error has occurred" (with the "Download Log File" button grayed out).

From this I gathered that I need to restart the CRM Asynchronous Processing Service. Is this something I can do at any time? E.g. will any information or running workflows be lost, or will those be picked up again once it is restarted?

Our server admin also told me there are two such services, one with "Maintenance" in its name. Do both need to be restarted?

Or is my problem not even related to this?
Thanks for any help. I'm pretty new to CRM.


Solution

  • I'm not sure about Campey's issue with the service needing to be manually restarted, but I wouldn't fear about the workflows having data integrity issues if you restart the service.

    Windows Services have to handle events to work properly, one of which is the shutdown requested event. The CRM asynchronous service will stop taking on new work, and do it's best to allow the currently executing workflows to finish up whatever it's working on before stopping.

    I would be more concerned about time sensitive steps not being executed with the CRM asynchronous service stopped, than I would be with the CRM asynchronous service's currently executing steps being corrupted.