I’m creating a library in Uipath Studio. I have created some new files and I’m trying to publish a new version, but I’m getting an error while compiling that says : “Unable to create activity builder for document. Reason was ‘missing key value on Bachelor object.’.”
The only activity with ‘Bachelor’ in it is an ‘Invoke Workflow File’ that calls a file called “Bachelor.xaml” which has no arguments
Below is a screenshot of the Workflow file that doesn’t compile :
@bcorrea Hello, yes I did test it as a normal process. I tried removing the first invoke to see if the library will compile, but it gives the same error for all the other invoke workflow in the other cases of the switch activity
@lakshman@bcorrea I have tried to re-create all the files in cas they were corrupted. I left only one invoke file in the switch activity and succeeded in compiling the library. But the moment I add another invoke workflow file in another case statement, the compilation errors with the same error mentioned in the post.
I managed to solve the issue by adding an enveloping sequence to all the invoke files inside each case in the switch activity. I don’t know why it works this way and not the other way. It clearly has something to do with wpf and xaml syntax