I have a developer who put in the following throw:
new BusinessRuleException(“in_strBillingEntityGrpNPI is null!”)
On her machine, there’s no problem. On mine, I get an error “BusinessRuleException is ambiguous, imported from the namespaces or types 'UiPath.Framework.Activities, UiPath.Core”.
We have the same version of UiPath and I don’t understand what that error means. It’s a throw.
Could it be related to the packages the developer has installed vs what you have installed?
Could you try with:
as suggested in this thread:
Hi there! I’m working with an old version of UiPath and I get a conflict while creating a new ‘BusinessRuleException’ on a Throw activity. Essentially the activity conflict says ‘Type BusinessRuleException is not defined’. Any solution on that? Does anybody have a workaround on that? Cheers!
Indeed this happens many times.
And it happen to other functions too (like Path.Combine not working while System.Path.Combine do etc) across PCs with the same UIPath version. Still don’t know why though.