Boundary Error Event In Conjunction with a Catch All Exception Subprocess

57 views
Skip to first unread message

Geoff Bolton

unread,
Oct 24, 2022, 10:17:39 AM10/24/22
to Kogito development mailing list
Hi,

I have a node within my Kogito workflow with a boundary error for a specific type of exception (e.g. BusinessException), and a separate catch all subprocess that should deal with all other exception types that are thrown (Throwable)

I would like to handle BusinessExceptions, e.g. CreditCardBlacklisted via Boundary errors.

However, when the node throws the CreditCardBlacklistedException, the boundary error is ignored and the catch all event subprocess is initiated.

Picture Of Workflow

How can I get this scenario to work so that when CreditCardBlacklistedException is thrown it goes to the Handle Blacklisted node and not the catch all sub process?

Francisco Javier Tirado Sarti

unread,
Oct 25, 2022, 10:56:06 AM10/25/22
to Kogito development mailing list

The scenario you mention should work. I think we need a reproducer to debug

Geoff Bolton

unread,
Oct 27, 2022, 7:39:39 AM10/27/22
to Kogito development mailing list

Hi,

Was not able to attach the reproducer here. I opened a JIRA ticket for the issue with reproducer - https://issues.redhat.com/browse/KOGITO-8191  

Thanks,

Geoff.

Reply all
Reply to author
Forward
0 new messages