Hello, I am having an issue that when using the “Wait For Document Validation Action And Resume” activity in my workflow I am getting a cannot serialize error. I have seen this issue come up a few times in different posts however I still cannot find a fix.
Main.xaml (46.0 KB)
I was wondering if anyone knew how to solve this issue? any help would be greatly appreciated.
I have upload my main.xaml file to this post and added the full error message below:
System.Runtime.Serialization.InvalidDataContractException: Type ‘System.Collections.IEnumerable’ cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members you want serialized with the DataMemberAttribute attribute. If the type is a collection, consider marking it with the CollectionDataContractAttribute. See the Microsoft .NET Framework documentation for other supported types.
at System.Runtime.AsyncResult.End[TAsyncResult](IAsyncResult result)
at System.Activities.WorkflowApplication.IdleEventHandler.OnStage2Complete(IAsyncResult lastResult, WorkflowApplication instance, Boolean isStillSync)
at System.Activities.WorkflowApplication.EventFrame(IAsyncResult result)