Solved

Workflows aren't working plain and simple

Posted on 2011-03-17
5
682 Views
Last Modified: 2012-05-11
Plain and simple, workflows aren't working.  I recently setup my CRM 4.0 about 3 months ago and had someone on my staff do all of the master file information.  Now that I have time, I am working within the system to get everything going.  

First thing, is that I tried to create a workflow that would automatically create a contact upon the creation of a new account called "Receiving" didn't work.  

So, I decided to just do something silly and create a work flow that when a new account is added, just put something stupid in the WebSite field for testing, doesn't work.

Basically, my WF's are trying to fire but they choose to remain in a Status Reason of "Waiting".   Waiting for what, I have no clue.

I've confirmed that the "Microsoft CRM Asynchronous Processing Service" is running and I have restarted it now 10 times.  

I see no event logs saying anything bad or negative regarding CRM.   So, I'm kinda at a lose here to diagnose this issue.  
0
Comment
Question by:chrisryhal
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 27

Expert Comment

by:Chinmay Patel
ID: 35161882
Hi chrisryhal,

There are many other factors which can render WFs to be in waiting state.

I recommend you follow this article : http://support.microsoft.com/kb/907490 and setup tracing so that we can see detailed logs.

Once you get the log files. Try to run your workflow again and upload the logs here.

Regards,
Chinmay
0
 
LVL 2

Author Comment

by:chrisryhal
ID: 35182178
Chinmay,

Back on this today.  Will do what you have asked and get the results back ASAP
0
 
LVL 2

Author Comment

by:chrisryhal
ID: 35192162
Ok, looks like this is what we got.    Kinda strange message considering the way I get to the CRM system is http://crm.<domain>.com:5555

Everything else in CRM works perfect.


# CRM Tracing Version 2.0
# LocalTime: 2011-03-22 13:37:00.1
# Categories:
# CallStackOn: No
# ComputerName: WIN-H719QSEN48N
# CRMVersion: 4.0.7333.3135
# DeploymentType: OnPremise
# ScaleGroup:
# ServerRole: AppServer, AsyncService, DiscoveryService, WebService, ApiServer, HelpServer, DeploymentService

[2011-03-22 13:37:00.1] Process:CrmAsyncService |Organization:6668dbff-1bb6-4132-a432-cb46325c0b02 |Thread:    4 |Category: Platform.Async |User: 00000000-0000-0000-0000-000000000000 |Level: Error | AsyncOperationCommand.Execute
>Exception while trying to execute AsyncOperationId: {B5D665F6-AA54-E011-A1F2-0018E7087767} AsyncOperationType: 1 - System.Net.WebException: The remote name could not be resolved: 'http'
   at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
   at System.Net.HttpWebRequest.GetRequestStream()
   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
   at Microsoft.Crm.SdkTypeProxy.CrmService.Retrieve(String entityName, Guid id, ColumnSetBase columnSet)
   at Microsoft.Crm.Asynchronous.SdkTypeProxyCrmServiceWrapper.Retrieve(String entityName, Guid id, ColumnSetBase columnSet)
   at Microsoft.Crm.Asynchronous.SdkPluginDescriptionProvider.GetPluginTypeDescription(Guid pluginTypeId, IOrganizationContext context)
   at Microsoft.Crm.Caching.PluginTypeCacheLoader.LoadCacheData(Guid key, IOrganizationContext context)
   at Microsoft.Crm.Caching.CrmMultiOrgCache`2.CreateEntry(TKey key, IOrganizationContext context)
   at Microsoft.Crm.Caching.CrmSharedMultiOrgCache`2.LookupEntry(TKey key, IOrganizationContext context)
   at Microsoft.Crm.Caching.PluginTypeCache.LookupEntry(Guid pluginTypeId, IOrganizationContext context)
   at Microsoft.Crm.Asynchronous.AsyncOperationCommand.GetPluginType(Guid pluginTypeId)
   at Microsoft.Crm.Asynchronous.EventOperation.InternalExecute(AsyncEvent asyncEvent)
   at Microsoft.Crm.Asynchronous.AsyncOperationCommand.Execute(AsyncEvent asyncEvent)
[2011-03-22 13:37:48.8] Process:CrmAsyncService |Organization:6668dbff-1bb6-4132-a432-cb46325c0b02 |Thread:   21 |Category: Platform.Async |User: 00000000-0000-0000-0000-000000000000 |Level: Error | AsyncOperationCommand.Execute
>Exception while trying to execute AsyncOperationId: {B5D665F6-AA54-E011-A1F2-0018E7087767} AsyncOperationType: 1 - System.Net.WebException: The remote name could not be resolved: 'http'
   at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
   at System.Net.HttpWebRequest.GetRequestStream()
   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
   at Microsoft.Crm.SdkTypeProxy.CrmService.Retrieve(String entityName, Guid id, ColumnSetBase columnSet)
   at Microsoft.Crm.Asynchronous.SdkTypeProxyCrmServiceWrapper.Retrieve(String entityName, Guid id, ColumnSetBase columnSet)
   at Microsoft.Crm.Asynchronous.SdkPluginDescriptionProvider.GetPluginTypeDescription(Guid pluginTypeId, IOrganizationContext context)
   at Microsoft.Crm.Caching.PluginTypeCacheLoader.LoadCacheData(Guid key, IOrganizationContext context)
   at Microsoft.Crm.Caching.CrmMultiOrgCache`2.CreateEntry(TKey key, IOrganizationContext context)
   at Microsoft.Crm.Caching.CrmSharedMultiOrgCache`2.LookupEntry(TKey key, IOrganizationContext context)
   at Microsoft.Crm.Caching.PluginTypeCache.LookupEntry(Guid pluginTypeId, IOrganizationContext context)
   at Microsoft.Crm.Asynchronous.AsyncOperationCommand.GetPluginType(Guid pluginTypeId)
   at Microsoft.Crm.Asynchronous.EventOperation.InternalExecute(AsyncEvent asyncEvent)
   at Microsoft.Crm.Asynchronous.AsyncOperationCommand.Execute(AsyncEvent asyncEvent)
0
 
LVL 27

Accepted Solution

by:
Chinmay Patel earned 500 total points
ID: 35208419
Alright seems this link might hold the answer :
http://social.microsoft.com/Forums/en/crmdevelopment/thread/9369fc70-cfe9-4ba2-b469-5558ce80f6d9

Also if you have configured IFD, there is a chance that it has not reflected in your configuration.

Try the link given above and we'll see how it goes.

Regards,
Chinmay.
0
 
LVL 2

Author Comment

by:chrisryhal
ID: 35212697
Chinmay,

I simply reinstalled and it worked.  Don't know why, but the link you gave me was very useful in the IFD part.  Thank you again for your responses.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

On Sep 22nd 2014 Microsoft released Update Rollup 1 for Microsoft Dynamics CRM 2013 Service Pack 1 and back in July Update Rollup 3 was released.  So we now have:   Update Rollup 1Update Rollup 2Update Rollup 3Service Pack 1Update Rollup 1 for S…
Automatically creating a Trello card using data from a Microsoft Dynamics CRM record turned out to be an easy project that yielded great results.  Here's how I did this for an internal team at General Code.
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

732 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question