I have an Assign activity in my workflow that is not working, but I really don’t understand why.
GenericVariable = GenericVariable.ToString.Trim.Replace("TBD","")
The validation error reads:
Cannot assign from type ‘System.String’ to type ‘UiPath.Core.GenericValue’ in Assign activity ‘Assign’.
The really frustrating thing is that this was working, but then tired adding a second Replace argument and then the validation error showed up. However, after I removed that the error would not go away. Even after clearing out the entire assignment and then rewriting it, still getting the error.