How to Integrate OAF Region in Oracle Workflow Notifications with example

How to Integrate OAF Region in Oracle Workflow Notifications With example
11/09/2009

Oracle Apps Smital M Adgaonkar (252074) smital.adgaonkar@tcs.com

-1TCS Internal

Specify the Value of this document type attribute as: JSP:/OA_HTML/OA.How to Integrate OAF Region in Oracle Workflow Notifications with example Introduction This document gives a step by step description of the following: • • How to integrate an OAF region in the oracle workflow notification. Step 1: Create an attribute of Type: Document in Oracle workflow Builder.jsp?OAFunc=CRD_NOTE_ID_OAF_REGION-&initiationReqId=&CREDIT_NOTE_REQUEST_NUM-&invType=-&INV_TYPE_EC&refCrdNoteNumber=-&CREDIT_NOTE_REFERENCE_NUM -2TCS Internal . How to create a Function using Oracle Apps.

How to Integrate OAF Region in Oracle Workflow Notifications with example Figure 1 -3TCS Internal .

Function • This function is defined in Oracle Applications and points to the OAF page which we want to embed in the Notification region. CREDIT_NOTE_REFERENCE_NUM / INV_TYPE_EC / CREDIT_NOTE_REFERENCE_NUM .internal name of the attributes in the workflow. -4TCS Internal . 3. OAF page should be standalone Region (Stack Layout) with a Custom Application Module and Controller attached to it. initiationReqId / invType / refCrdNoteNumber – variable Names • By using this name we can get the attribute passed through the workflow in the OAF page.How to Integrate OAF Region in Oracle Workflow Notifications with example In the value: JSP:/OA_HTML/OA. • 2. CRD_NOTE_ID_OAF_REGION .jsp?OAFunc=CRD_NOTE_ID_OAF_REGION-&initiationReqId=&CREDIT_NOTE_REQUEST_NUM-&invType=-&INV_TYPE_EC&refCrdNoteNumber=-&CREDIT_NOTE_REFERENCE_NUM 1.

2 -5TCS Internal .How to Integrate OAF Region in Oracle Workflow Notifications with example Step 2: To create a Function using Oracle Apps: Login in Sysadmin -Æ Application -Æ Function Figure 2.

2 -6TCS Internal . Figure 2.How to Integrate OAF Region in Oracle Workflow Notifications with example Specify the Function name and the description.

3 -7TCS Internal . Figure 2.How to Integrate OAF Region in Oracle Workflow Notifications with example In the Web HTML – mention destination URL of OAF region.

Figure 3 -8TCS Internal .How to Integrate OAF Region in Oracle Workflow Notifications with example Step 3: To create a Message: Create a Message and drag the attribute (document type) in the message as shown below: By specifying &ITEM_ATTR_INTERNAL_NAME in the message body we can embed any message attribute (here OAF region).

getParameter ("initiationReqId"). webBean).How to Integrate OAF Region in Oracle Workflow Notifications with example Step 4: To create a Standalone Region using OAF: In the Controller of the OAF Region: public void processRequest (OAPageContext pageContext. // TO GET THE INITIATION REQUEST ID: 341 String initiationReqId = pageContext. OAApplicationModule am = pageContext.getParameter ("refCrdNoteNumber"). } -9TCS Internal . // TO GET THE REFERNCE CREDIT NOTE NUMBER: SRV2010/00002 String refCrdNoteNumber = pageContext.getParameter ("invType").processRequest (pageContext. FE String invType = pageContext. PT. OAWebBean webBean) { super. // TO GET THE INVOICE TYPE: EC.getApplicationModule (webBean).

How to Integrate OAF Region in Oracle Workflow Notifications with example Final Result will be seen as shown below: OAF region in the Notification: Figure 4 .10 TCS Internal .

Sign up to vote on this title
UsefulNot useful