Yesterday we started getting a strange issue in one of our MS CRM online organization, where we have workflow to send notification in case of customer approval, but suddenly the workflow stopped working and we were getting below error
“Unhandled Exception: Microsoft.Crm.CrmException: Cannot create the given type without the required parameters. at Microsoft.Crm.Workflow.Services.ExpressionServiceBase.CreateCrmType(WorkflowPropertyType type, Object[] values) at Microsoft.Crm.Workflow.Services.ExpressionServiceBase.EvaluateExpression(ExpressionOperator expressionOperator, Object[] parameters, Type targetType) at Microsoft.Crm.Workflow.Activities.EvaluateExpression.Execute(CodeActivityContext context) at System.Activities.CodeActivity.InternalExecute(ActivityInstanceinstance, ActivityExecutor executor, BookmarkManager bookmarkManager) at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutorexecutor, BookmarkManager bookmarkManager, Location resultLocation)”
In order to resolve this issue we have to recreate our workflow and it started working.
Hi there
There is actually a slightly easier workaround for this issue where you don’t need to delete the whole workflow and start again. Check out the following for details:
http://rule30.wordpress.com/2014/04/10/fix-microsoft-crm-crmexception-cannot-create-the-given-type-without-the-required-parameters/
Hope this helps someone!
Thank you for sharing this !!
No problem
Cheers