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#
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
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.
Thank you @sonaliaggarwal47 I continue to hit this error in my workflow even tho when i check the extract table data wizard there is in fact data in it. NOt sure how to get this fixed so the data will pull. I tried re indicating the screen multiple times. Again i want to pull the table for each different hospital and append into one excel so i have all these activities in a for each excel row.
Can you please check your datatable if it has any rows or columns?
Also, please check that you have 1 datatable variable defines only. Sometimes we can end up defining same variable in different scopes and that can cause confusion.
Hi @sonaliaggarwal47 there is data in the table i was able to delete and re insert activity and it worked but when I move on to search the next hospital name and then scrape the table data it wont work… is this bc the data changes? what can i do to make this loop work properly?
yes that can be the case… if another hospital has more set of data(and pagination), it can cause problems.
For your extract data, can you please check all the selectors there? and window selector as well? It can be the possibility that screen name is changing leading with the hospital name change, so that can cause no data extraction because bot might still be looking for the old screen.
So, please check if there are any references of hospital name in the screen selectors for extract data activity. if there is , you need to replace those names with *