How to add new business rule exception

In a normal sequence i want to update a variable to business rule exception from status no exception. How can i do that?

  1. ive tried updating the variable to Exception and the error says that you can not use this Expression just like that
  2. Tried updating it to new BusinessRuleException("Exception")

Thank you!

use Throw Activity and pass this expression new BusinessRuleException("Exception")

1 Like

Answer found my self. Asked for clarification Thank you!

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.