Wait for form task and resume activity showing error

Hi Guys!!

I am developing code on RE Framework in which i am using action center component. when using Wait for Form Task & Resume activity, i am facing an error like RemoteException wrapping System.Runtime.Serialization.InvalidDataContractException: Type ‘System.Net.Mail.AlternateViewCollection’ 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.

can i use any other activities to wait for my task in action center or this issue has any solution

Kindly help me to fix

Thanks in Advance

Hi @mohamedalthaf ,

Take a look at the below documentation :

We would need to have serializable data types when using the Persistence activities.

1 Like