I am working with document understanding and Action center but when the bot gets to the Document Validation Action And Resume activity throws an Errorm the error that are shown in the image.
If somebody knows how to fix it, I would really appreciate your help
1 Like
In the .xaml file where you have the Wait for Action and Resume activities, all variables / arguments must be of data types that are serializable (e.g. simple types like strings, integers, arrays of strings are generally ok).
In the error message above I suppose you have a variable of type Array of FileInfo, to store the output of a DirectoryInfo.GetFiles() command? If that’s the case you might want to try changing it to an Array of String, and use Directory.GetFiles instead.
2 Likes
Is it working now? If it did, please mark my response as the answer so that others may benefit as well.
1 Like
Thanks for your help, I tried what you suggest and now is working
1 Like
Hi iam also facing the same issue ,but i have modified the variable type for getdirectory files as well. Still facing the same issue which was mentioned in this thread.
Please help me to resolve this issue.