'UiPath.Core.Activities.FileSystemLocalItem' cannot be serialized

Hi All,

I have an error from Document Understanding Framework at step “Wait For Document Validation Action and Resume” as pictured below:

please check the error message here.
DU Error.txt (18.9 KB)

using Studio version 23.4.0
and Dependecies versoin
“dependencies”: {
“UiPath.Database.Activities”: “[1.7.1]”,
“UiPath.DocumentUnderstanding.ML.Activities”: “[1.17.0]”,
“UiPath.Excel.Activities”: “[2.16.0]”,
“UiPath.IntelligentOCR.Activities”: “[6.5.0]”,
“UiPath.Mail.Activities”: “[1.12.2]”,
“UiPath.System.Activities”: “[22.10.3]”,
“UiPath.Testing.Activities”: “[22.10.0]”,
“UiPath.UIAutomation.Activities”: “[22.10.3]”
},

if you have a solution, please share.

thank you,
Indra

as the class has not a public constructor it cannot be serialized

Hi ppr,

sorry, I still don’t get what you mean. could you explain me more details?

because I didn’t change anything about DU Activities. just add more logic related to DB.

will send you a PM in a few seconds

Perfect, issue solved together:

  • checking all constraints on using persistence
  • got luck to apply the strategy of deleting the unneeded variable

Hi Peter,

thank you so much for your amazing support. let me know if you visit Bangkok.

this issue was solved by removing the variable of the ILocalResource object from the DownloadStorageFile Activity as pictured below:

Cheers,
Indra

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.