Hello all im moving my sequences process to REF which great for exception handling,
but the process part and multi sequence based on the first one, how to break it if item not found in the search and skip the retry part!
and add it the Business exception.
Im trying to have a flag and msg carry the whole exception but dont know how to break the flow
you can have that part of code alone in a separate TRY CATCH and if exception comes it goes to CATCH block
there you can have the exception either saved as a variable like this with the exception message
businessexception = exception.message
here businessexception variable is of type BusinessException
make sure the catch is defined with exception type as System.Exception so that be it any exception it gets added as a business exception
or throw as business exception like this with THROW Activity
New BusinessRuleException(“your exception message”)