CV screen scope multiple languages error

Keep hitting this error: Argument ‘Descriptor’: The specified Activity definition contains multiple languages of expression activities that require compilation (languages discovered: ‘C#’). Only one language requiring compilation is allowed per definition. Please convert all expression activities that require compilation to a single language.

It happens using the CV Screen Scope process and the project is in C#

Hi @alexandra.wickel,

Is it throwing error only when using CV extract table activity?

Have you tried using other CV activities on the screen?

Do you still get the error?

Regards
Sonali

Hi @alexandra.wickel

As per my knowledge, This error occurs because CV activities use VB expressions by default. Since your project is in C#, mixing languages causes a conflict.
To fix this, replace or edit CV expressions to use C# syntax or avoid using mixed-language activities.

If you found helpful please mark as a solution. Thanks
Happy Automation with UiPath

I started a new project in VB and copied over the workflow. I took out CV extract table and used extract table data. Everything is working now except it says invalid UI node in CV Screen Scop actvity

Hi @alexandra.wickel

Re-indicate your screen for CV screen scope, it should resolve.

REgards
Sonali

Hi, i tried this and it did not work still getting invalid UI node notification. thanks for any help

@alexandra.wickel

After re-indicating, have you deleted the old screen from scope?

I don’t know anything about the error, but I just want to point out that you don’t need to use CV Screen Scope any more. You should be working in modern, and the modern activities have CV selectors built in along with strict, fuzzy, image, etc.

So you don’t use CV Screen Scope and the special CV activities. You just use the normal activities and they have CV built in.

What activity do you recommend to pull table from desktop app? @postwick

@alexandra.wickel

Like CV extract table, there is also a non-CV activity - extract table or table extraction wizard.

Regards
Sonali