How to call custom persistent class when any Error, Alert or Warning created into Ens_Util.Log table
Hi All,
I have created a custom method into persistent class to call vendor Rest API from Ensemble that is working fine through Terminal, but my concern is:
I want to call only if Error, Warning or Alert are generated. Is there any way that it would call automatically to send that Logs records through API or from where I need to call custom method of persistent class.
I also tried to put that persistent class method from Ens.Util.Log class but it's calling multiple time automatically.
Thanks,
Asif
Discussion (1)0
Comments
You need to write an Alert Processor. Monitoring Alerts.