20.4.3 Variables aren't cleared on removing package references

I had tried experimenting the Outlook365 package in my test automation. I had later realized this package is not needed; and hence uninstalled from my code. After uninstallation, I made sure that i cleared the code using the package and all warnings/errors got resolved. However, when I tried executing the code base; found an unknowntype error with the message “Cannot create unknown type Variable” (Refer screenshot).

I would suggest that UiPath does either of the following:

  1. Proactively flag the variables that were dependent on the uninstalled package… and show them as errors on completion of uninstallation process. User should not be able to run until he resolves these errors.

  2. Clear the invalid unknown type references which were pointing to the uninstalled package.

Having such vague error messages in a very complex automation involving 100’s of xaml files would be a painful process for the developer.


Hi @prakash.chidambaram

Thank you for your report, we will look into that.