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
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.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156