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.
Hope it will help someone !!!