I am getting this error - Type “UiPath.Excel.WorkbookApplication” cannot be serialized.
if i delete “Delay” duration activities steps from the workflow then it works fine. but i need to use “Delay” in the workflow. I am not sure how come delay activity is related with UiPath excel workbook application and causing an error. i have used “Delay” activity in my other RPA programs but never got this error.
Please help me to find out which steps is causing this error
error: Type ‘UiPath.Excel.WorkbookApplication’ 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.