Throw stops workflow, trying to create a business rule exception that is catched and initiates another state

Good day

I am trying to learn to use state machines & more specifically how to use throws to create a business rule exception which would initiate another state.

However, my throw just stops the workflow. I have but it into a try catch, and created a business rule exception catch, and assign the exception to a BRE variable.Capture2

Any assistance is appreciated.



In the throw I have the following code: New BusinessRuleException

New BusinessRuleException(“Force BRE”)

The error message I get is

Error: Throw: Force BRE

It also does this in the REFramework when I put a throw in the Process File. It stops that workflow at the throw.

I’m having the same problem. Did you figure it out?