Professional Documents
Culture Documents
Integrating OAF Notifications With Oracle Apps
Integrating OAF Notifications With Oracle Apps
In this Article, we will see how we can create a OAF notification and invoke it from
workflow. The OAF notification has many advantages like User can personalize the
notification region as per needs and moreover look and feel is same as ths standard
notifications.
1) Create a Document type Item Atribute(Custom Req Line Fwk Region) and specify the
value as displayed:
JSP:/OA_HTML/
OA.jsp?OAFunc=XXC_POR_REQLINES_NTFN_RN-&reqHdrId=-&DOCUMENT_ID-&funcCurr=-&FUNCTIONA
XXC_POR_REQLINES_NTFN_RN ; This function is defined in Oracle Applications and
points to the OAF page which we want to embed in the Notification region.
OAF page should be standalone Region(Stack Layout) with a Custom Application Module and
Controller attached to it.
============
public void processRequest(OAPageContext pageContext, OAWebBean webBean)
{
super.processRequest(pageContext, webBean);
//We can get the parameters(reqHdrId and funcCurr) in the controller and initialize the
VO to show the results as mentioned below:
String reqHdrId = pageContext.getParameter("reqHdrId");
String funcCurr = pageContext.getParameter("funcCurr");
Serializable aserializable[] = {
reqHdrId, funcCurr
};
CustomReqLineNotificationAMImpl am = (CustomReqLineNotificationAMImpl)
Message Body: