Possible to use boundary error and error event subprocess in same workflow?

73 views
Skip to first unread message

Alan Buckeridge

unread,
Oct 17, 2022, 6:52:18 PM10/17/22
to Kogito development mailing list
Hi,

Kogito noob here.

I'm trying to create a workflow where a service task will contain a boundary intermediate error that catches a specific type of exception (e.g. BusinessException), and a catch-all error event subprocess that should deal with all other exception types (currently configured to catch Throwable).

However, when the service task throws a BusinessException, the boundary error handler is bypassed and the catch-all event subprocess executes.

Is there any way to tell Kogito to check if the boundary intermediate error matches the exception first before trickling up to the event subprocess?

Thanks,

Alan

Francisco Javier Tirado Sarti

unread,
Oct 19, 2022, 9:18:29 AM10/19/22
to Kogito development mailing list
Hi.

I think we need a reproducer to fully understand the scenario. In theory, what you are describing should work, so probably there is something else going on and we need the reproducer to debug it
Reply all
Reply to author
Forward
0 new messages