Business Rule Exception error

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!

Do you have an example of how you are using it?
Syntax looks like it should be new UiPath.Core.BusinessRuleException(“text”)


Hello, I am facing this error. Can you help ?

eWATExceptionRows are my own defined datatable in which I am catching the errors.

ok it got solved using new uipath.core.businessrule().


Hi Clayton,
Im getting an error when im using businessRuleException in my assign activity. it says BusinessRuleException is a type and cannot be used as an expression, can u help me here?

did you forget to put the word “new” before it?


this is how im trying to use it

you need to create a variable of that type ( UiPath.Core.BusinessRuleException) first.

wow, i didnt know we had to create variable. thanks to u. works now

1 Like

You don’t necessarily need to, but in this framework model, the variable is being stored globally so it can set the status and log the error in a more centralized manner.