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 have the same question (0)

Report
All responses (
Answers (