Invalid L-value expression error

Hi all,

I am getting the following error message:
System.Activities.InvalidWorkflowException: The workflow has validation errors. Review and resolve them first. —> System.Activities.ValidationException: Compiler error(s) encountered processing expression “totaal_passiva_3”.Invalid L-value expression.:Reference expressions cannot end with Conversion. The provided expression’s type must exactly match the type T of VisualBasicReference or LambdaReference.

The variable it is referring to is the output of OCR text scraping similar to 60 other variables created in this automation. None of other variables of the same type has this problem and moreover this one worked perfectly until now. I have restarted PC and recreated the variable, but the error remains.

Thank you for help in advance.


@Elizaveta_Demuynck In your Get Ocr activity property remove variable name and press ok than give the variable name


thanks, that helped

1 Like