Started getting the below error after upgrading the UiPath.Systems.Activity package to 23.10.6. Its failing at the Modify Text activity. Any recommendations on fixing the error. I wonder if the Transaction item it is referencing is the issue because the transaction item is being created using older dependencies (22.10.6) Thoughts? After downgrading back to System.Activities 22.10.6 the error cleared.
System.Exception: Type ‘UiPath.Core.Activities.TextModifications.FindAndReplaceTextModificationModel’ cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members you want serialized with the DataMemberAttribute attribute. Alternatively, you can ensure that the type is public and has a parameterless constructor - all public members of the type will then be serialized, and no attributes will be required. —> System.Runtime.Serialization.InvalidDataContractException: Type ‘UiPath.Core.Activities.TextModifications.FindAndReplaceTextModificationModel’ cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members you want serialized with the DataMemberAttribute attribute. Alternatively, you can ensure that the type is public and has a parameterless constructor - all public members of the type will then be serialized, and no attributes will be required. at System.Runtime.Serialization.DataContracts.DataContract.DataContractCriticalHelper.ThrowInvalidDataContractException(String message, Type type)
24.10.8+Branch.support-v24.10.Sha.653ecc68c3ec77c9af349466b2c3925e0dfbe4a0.653ecc68c3ec77c9af349466b2c3925e0dfbe4a0
Type ‘UiPath.Core.Activities.TextModifications.FindAndReplaceTextModificationModel’ cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members you want serialized with the DataMemberAttribute attribute. Alternatively, you can ensure that the type is public and has a parameterless constructor - all public members of the type will then be serialized, and no attributes will be required.