Skip to main content
Hi,

I've added code to catch exceptions at the process level, basically the code just sends an email with details of the exception. This works fine for most of the context types, I have tested on exceptions in clientevents, mailevents, startrules, escallationrules and others and it works fine. However when an exception occurs in a line rule, it doesn't seem to be caught at the process level, however it does appear in the error log at the k2 service mgr.

Is there anything special about the way to handle exceptions from line rules?

Thx,
Mikkel
Hi Mikkel,

There is no exception handling on line rules. If this is required you can add the necessary try-catch to the code for the line rule and throw your own exception.

The error should still be trapped by the K2Server and added to the error log.

HTH,
Conrad

Reply