cancel
Showing results for 
Search instead for 
Did you mean: 

Sample Code for Alerts using Adapter Module

Former Member
0 Kudos

Do anyone have the sample code(EJB) for raising alert through Adapter Module.Please mail it to me at abhi027@gmail.com

Thanks

Abhishek

Accepted Solutions (0)

Answers (2)

Answers (2)

bhavesh_kantilal
Active Contributor
0 Kudos

Check this blog by Amol Joshi. Exactly what you want,

/people/amol.joshi2/blog/2006/11/27/alerts-from-adapter-modules--the-jra-way

/people/amol.joshi2/blog/2006/11/28/alerts-from-adapter-modules--the-jra-way-part-ii

Regards

Bhavesh

henrique_pinto
Active Contributor
0 Kudos

Develop it yourself.

There is a standard RFC which can trigger alerts (RFC SALERT_CREATE).

Just call this RFC from your EJB, passing the proper parameters.

This blog by Bhavesh handles the call in a UDF (RFC lookup won't work in EJBs, though; you'll probably have to use JCo directly): /people/bhavesh.kantilal/blog/2006/07/25/triggering-xi-alerts-from-a-user-defined-function

Regards,

Henrique.