Question
· Jul 6, 2021

Ens.Alert: How to invoke Ens.Alert from <catchall> in Business process

Hello All,

I am exploring Ens.Alert to generate alerts for Server exceptions.

I noticed that in the business operation, if you have your code inside try/catch and if your catch doesn't explicitly invoke $$$systemerror then Ens.Alert is not invoked.

Similarly, in the Business process if you have <catchall> then Ens.Alert is not invoked on error.  How can I invoke Ens.Alert from <catchall> ? 

Another thing I noticed is, if I dont catch exceptions in BO and BP and have "Alert on error" ON for both, if there is an error in BO, 2 alerts are generated for same error,  one from BO and one from BP. Can we avoid 2 alerts for the same error?

Thanks heaps!

Utsavi

Product version: IRIS 2020.1
Discussion (3)1
Log in or sign up to continue