When I create a CRM workflow which has actions to fire child workflows, the workflow keeps failing.
The weird thing is that I can run workflows with no child workflows fine, just happens when other workflows are triggered from within another one. Has anyone encountered this before and if so, does anyone know how to fix it. I am getting errors with this. The error we are getting is:
Cannot set unknown member 'Microsoft.Xrm.Sdk.Workflow.Activities.StartChildWorkflow.InputParameters'.
The full stack error is :
Unhandled Exception: System.Xaml.XamlObjectWriterException: Cannot set unknown member 'Microsoft.Xrm.Sdk.Workflow.Activities.StartChildWorkflow.InputParameters'. at System.Xaml.XamlObjectWriter.WriteStartMember(XamlMember property) at System.Xaml.XamlServices.Transform(XamlReader xamlReader, XamlWriter xamlWriter, Boolean closeWriter) at System.Activities.XamlIntegration.FuncFactory
1.Evaluate() at System.Activities.DynamicActivity.OnInternalCacheMetadata(Boolean createEmptyBindings) at System.Activities.Activity.InternalCacheMetadata(Boolean createEmptyBindings, IList
1& validationErrors) at System.Activities.ActivityUtilities.ProcessActivity(ChildActivity childActivity, ChildActivity& nextActivity, Stack1& activitiesRemaining, ActivityCallStack parentChain, IList
1& validationErrors, ProcessActivityTreeOptions options, ProcessActivityCallback callback) at System.Activities.ActivityUtilities.ProcessActivityTreeCore(ChildActivity currentActivity, ActivityCallStack parentChain, ProcessActivityTreeOptions options, ProcessActivityCallback callback, IList1& validationErrors) at System.Activities.ActivityUtilities.CacheRootMetadata(Activity activity, LocationReferenceEnvironment hostEnvironment, ProcessActivityTreeOptions options, ProcessActivityCallback callback, IList
1& validationErrors) at System.Activities.Hosting.WorkflowInstance.ValidateWorkflow(WorkflowInstanceExtensionManager extensionManager) at System.Activities.WorkflowApplication.EnsureInitialized() at System.Activities.WorkflowApplication.Enqueue(InstanceOperation operation, Boolean push) at System.Activities.WorkflowApplication.WaitForTurn(InstanceOperation operation, TimeSpan timeout) at System.Activities.WorkflowApplication.InternalRun(TimeSpan timeout, Boolean isUserRun) at Microsoft.Crm.Workflow.ActivityHost.StartWorkflowExecution(Activity workflow, ICommonWorkflowContext context) at Microsoft.Crm.Workflow.ActivityHostBase.StartWorkflow(ICommonWorkflowContext context, Activity preLoadedActivity)
Bear in mind, these are not XAML workflows, they are generic CRM workflows which contain no custom Workflow activities.
I have been looking at this for about a week now, and the only references I see are infinite loop workflows, which is not the case here and custom XAML workflows, which again, is not the case.
Any help would be much appreciated.
The system this is running on is CRM 2013 SP1 Rollup 2
Thanks in advance