HI there,
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?
Thanks in Advance
HI there,
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?
Thanks in Advance
@Abinayaab
Have you created a BusinessRuleException variable or are you referencing the class itself? You should be able to use new UiPath.Core.BusinessRuleException("exception message")
to create a business rule exception.
In the assign activity you can use
Variable name = new businessruleexception(“The exception string”)