Hi Everyone.
When i am trying to run a library inside a workflow (Test Framework), I’m faced with the below error and the library flow stopped in-between. I tried every possible solution, like re-publishing the library to next version and installed the latest version in my workflow. Still its not working. But if i use this library in a newly created project, it is working. If anyone have a solution for this please help me.
Error Message:
Expression activity type ‘VisualBasicValue1’ requires compilation in order to run. Please ensure that the workflow has been compiled
Source: System.activities
Note:
I haven’t used any VB Expressions in the library
Tried deleting .local folder and also .cache folder
When i try to run the library source file, it is running without any error. But when i’m using this in other workflow (After installing the library package), im facing with this error
Hey @Kamal_Haris can you analyze your process so it will give you the details of exception any try to remove any unused variable ,arguments,workflow and also check for validation file .
Make sure your project or library dependencies have the same version as UiPath Studio. For example, if the Studio version starts with 2024.x.y then keep your project dependencies in the same 24.x.y if available or any 24.a.b version.
Also, make sure your library package dependencies versions and your project dependencies versions are the same.
The issue is because of an element in the ‘Object Repository’. After i deleted the specific element which is duplicated in both my project repo and Ui Library repo this issue is resolved.
Here the element in the Ui library repo is different from the project repo. This caused the issue here.