Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

Synchronous Workflow Processes always error on creation for organization owned entities all v9.0 instances

Posted on by 115

There is currently a bug on all v9.0 instances where non-asynchronous (the run this workflow in the background checkbox is not checked) workflows error out instantly when created for organization owned entities.

If you create an asynchronous workflow and convert it an error also appears with the following message:

Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: System.NullReferenceException: Object reference not set to an instance of an object.
   at Microsoft.Crm.Extensibility.MessageProcessor.get_IsCustomProcessingStepAllowed()
   at Microsoft.Crm.Application.Platform.WorkflowLibrary.WorkflowAdapterBase.RemoveInvalidTriggerConditionsForSyncWorkflows(WorkflowStep workflowStep)
   at Microsoft.Crm.Application.Platform.WorkflowLibrary.WorkflowAdapterBase.CreateWorkflowObjectModel(Guid workflowEntityId, Boolean useSystemUserContext)
   at Microsoft.Crm.Application.Platform.WorkflowLibrary.WorkflowAdapterBase.Retrieve(Guid workflowEntityId, Boolean useSystemUserContext)
   at Microsoft.Crm.Application.Platform.WorkflowLibrary.WorkflowAdapterBase.Retrieve(Guid workflowEntityId)
   at Microsoft.Crm.Web.Sfa.WorkflowDetailPage.ConvertWorkflowType(Object sender, DataEventArgs e)
   at Microsoft.Crm.Application.Forms.AppForm.RaiseDataEvent(FormEventId eventId): Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #FBF80061Detail: 
<OrganizationServiceFault xmlns:i="www.w3.org/.../XMLSchema-instance" xmlns="schemas.microsoft.com/.../Contracts">
  <ActivityId>c5674bee-7242-4d7b-be93-c0358bb835e0</ActivityId>
  <ErrorCode>-2147220970</ErrorCode>
  <ErrorDetails xmlns:d2p1="schemas.datacontract.org/.../System.Collections.Generic" />
  <Message>System.NullReferenceException: Object reference not set to an instance of an object.
   at Microsoft.Crm.Extensibility.MessageProcessor.get_IsCustomProcessingStepAllowed()
   at Microsoft.Crm.Application.Platform.WorkflowLibrary.WorkflowAdapterBase.RemoveInvalidTriggerConditionsForSyncWorkflows(WorkflowStep workflowStep)
   at Microsoft.Crm.Application.Platform.WorkflowLibrary.WorkflowAdapterBase.CreateWorkflowObjectModel(Guid workflowEntityId, Boolean useSystemUserContext)
   at Microsoft.Crm.Application.Platform.WorkflowLibrary.WorkflowAdapterBase.Retrieve(Guid workflowEntityId, Boolean useSystemUserContext)
   at Microsoft.Crm.Application.Platform.WorkflowLibrary.WorkflowAdapterBase.Retrieve(Guid workflowEntityId)
   at Microsoft.Crm.Web.Sfa.WorkflowDetailPage.ConvertWorkflowType(Object sender, DataEventArgs e)
   at Microsoft.Crm.Application.Forms.AppForm.RaiseDataEvent(FormEventId eventId): Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #FBF80061</Message>
  <Timestamp>2018-02-19T02:59:43.9887883Z</Timestamp>
  <ExceptionRetriable>false</ExceptionRetriable>
  <ExceptionSource i:nil="true" />
  <InnerFault i:nil="true" />
  <OriginalException i:nil="true" />
  <TraceText i:nil="true" />
</OrganizationServiceFault>


 

*This post is locked for comments

  • RE: Synchronous Workflow Processes always error on creation for organization owned entities all v9.0 instances

    I got exactly the same message when converting a background workflow into a real-time one on an Organisation owned entity.

    Besides, I created an real-time workflow on the same entity 2 weeks ago and it was working. Today when i open it and shows errors. 

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans