In this webinar, our experts showcase a variety of demo use cases of how different components of the...
PowerObjects recently ran into this issue where we were able to edit and create workflow without issues and suddenly we would get the following errors while trying to create or edit a workflow. No known changes were made to cause the issue.
MessageProcessor start executing step c7350ea5-9220-49e4-a0b5-c75e061b6e30 of type 'Microsoft.Crm.ObjectModel.TargetAttributeValidationPlugin' synchronously for message 'Update' for entity 'workflow' correlationId e7191b32-93c9-430c-ad8a-e2348d610644.
Crm Exception: Message: "Attribute 'rules' on entity 'workflow' is deprecated.", ErrorCode: -2147204299
Web Service Plug-in failed in SdkMessageProcessingStepId: {C6CDBB1B-EA3E-DB11-86A7-000A3A5473E8}; EntityName: workflow; Stage: 30; MessageName: Update; AssemblyName: Microsoft.Crm.Extensibility.InternalOperationPlugin, Microsoft.Crm.ObjectModel, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35; ClassName: Microsoft.Crm.Extensibility.InternalOperationPlugin; Exception: Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments,
Crm Exception: Message: "Attribute 'rules' on entity 'workflow' is deprecated.", ErrorCode: -2147204299, InnerException: Microsoft.Crm.CrmException: "Attribute 'rules' on entity 'workflow' is deprecated."
at Microsoft.Crm.BusinessEntities.ValidateExtension.HandleDeprecatedAttributesForRetrieve(ColumnSetExpression columnSet, Version endpointVersion)
MSCRM Error Report:
--------------------------------------------------------------------------------------------------------
Error: "Attribute 'rules' on entity 'workflow' is deprecated."
Error Number: 0x80044335
Error Message: "Attribute 'rules' on entity 'workflow' is deprecated."
Error Details: "Attribute 'rules' on entity 'workflow' is deprecated."
Source File: Not available
Line Number: Not available
Request URL: https://xxxxxxxxx.crm.xxxxxxx.net/AppWebServices/Workflow.asmx
Stack Trace Info: [CrmException: "Attribute 'rules' on entity 'workflow' is deprecated."]
MapOrgEngine: Unable to retrieve the OrgId for URL[].
MessageProcessor fail to process message 'Update' for 'workflow'.
We found this was related to a CRM 2011 product issue when Enable Audit is set.
To resolve the issue follow the steps below:
Please ensure if the auditing is enabled - if it is try disabling the setting .
1. Go to Settings | Customization | Customize the System
2. Entities | Process
3. Uncheck Auditing on the General tab
4. Save and publish
5. Go back to Settings | Process Center | Processes
6. Choose a workflow and try to activate or deactivate it
Happy CRM'ing
Good, this helped me in resolving the similar issue with deletion of processes.