on 08-07-2007 11:32 PM
Hi
I created the UDF to catch the Runtime Exception.. With that Runtime Exception I want to send an e-mail notification..
how we do that
venkat
Venkatesh,
In your udf, write the else clause and write some code in else clause which always fails:
eg:
String alwaysfails= new String("somestring");
alwaysfails.substring(0,100);
If exception occurs, then the mapping fails and sends out the alerts.
If alert categories and alert rules are already in place, then it throws the mapping failure alerts. for alert configuration you can get plenty of documentation on help and also in forums.
Regards,
Ravi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can trigger alerts from UDFs.
Check this blog: /people/bhavesh.kantilal/blog/2006/07/25/triggering-xi-alerts-from-a-user-defined-function
Regards,
Henrique.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.