Unexpected error during library compilation process: The following invoked workflows are missing

Hello,

When I am publishing the UIProject, i get the error:
Unexpected error during library compilation process: The following invoked workflows are missing
Called from the following workflows

Also The files are present in actual directories.

@nikhil.chandre

When encountering the error “Unexpected error during library compilation process: The following invoked workflows are missing,” ensure that all invoked workflows are correctly referenced in the project, and double-check the file paths and names to ensure they match the actual directories.

cheers…!

@sai_gupta

I’d checked that invoked workflows are correctly referenced. Also the file paths and names match the actual directories

@nikhil.chandre

  1. Please try to analyze the project and check what errors you are getting
  2. After analyze check the project panel…expand each folder and see if there is a red exclamation mark any where
  3. Can you please show a screenshot of exact error

Cheers

getting error invoked workflow are missing

no red exclamation mark in the project panel

PFB screenshot for the error

@nikhil.chandre

Did you happen to open the specified workflow and check if it is missing…may be if you have renamed any workflow then the test cases workflow also might throw these errors

Cheers

yes, had opened the specified workflows , it has opened in the UiPath screen

I am getting the same error.

My scenario. I have a shared workflow file in my library project that gets called by the other workflow files in the same library. When I wrapped that shared workflow file code in a try catch (on the file itself, not where I call it from) I got the above error. When I removed the try catch from the shared workflow file it published successfully.

When I have a moment again I’ll do investigation on how best to put error handling back for the shared page.

Maybe this will help you.

had done right click to the xaml files, it has option something like publishable. had set to publishable for the files which were not . then able to compile it successfully

1 Like