OAF document link in workflow notifications

Hi
I am trying to attach an OAF page I developed into a custom workflow's notification. I defined a new attribute with document type and put JSP:/OA_HTML/OA.jsp?OAFunc=XXRM_ONAY_TALEP_GUNCELLEME as the value where XXRM_ONAY_TALEP_GUNCELLEME is my sswa jsp function's name.
Then I put this new attribute into message body, with the option "Attach Content" selected. However when the notification arrives to the recipient, instead of an attachment link or the OAF page itself, there is only a text :
"Attribute BOLMUDUYDOC refers to Framework Region JSP:/OA_HTML/OA.jsp?OAFunc=XXRM_ONAY_TALEP_GUNCELLEME"
As this is an urgent matter, any help to resolve the issue will be greatly appreciated.
Thanks
Özgür

I managed to get this link working by setting up a message attribute of type URL.
I selected the 'Attach Content' flag, and set the value to JSP:/OA_HTML/OA.jsp?page=/{path to xml file from $JAVA_TOP}
Cheers,
Tim

Similar Messages

  • Remove 'Return to Worklist' link in workflow notifications

    Hi,
    Does anybody know how to get rid of the 'Return to Worklist' link in workflow notifications? Should I be looking at modifying the workflow template or extending the controller?
    Thank you,
    Anatoliy

    Try giving the URL of the form.if this did not solve your issue then try attaching the particular form to the workflow.
    Attaching form has been already discussed in this forum. You can check earlier topics.
    Prabhu Barathi

  • OAF page in the workflow notification

    Hi,
    I have a custom OAF page and a custom workflow. When the page is submitted, i am invoking the workflow. I was just wondering if i can put the page screen shot in the workflow notification so that the users doesn't have to worry about logging back into the page to check the details. Is there any option?
    Thanks

    Hi,
    Including the custom page in the notification is fine. But what i find was generally we will call workflow to send messages to the other person based on the business requirement at that time inclusion of page in notification may not be good.

  • OAF link from Workflow Notification

    We are customizing the Oracle TCA customer screens. We created a workflow that is launched when a new customer is created. Among other things the workflow sends a notification to a set of users indicating that a new customer was created.
    The requirement is that along with the message, link should be provided in the notification that will open up the customer page. The customer page is a standard oracle shipped page, we did not modify/customize the page.
    The workflow developer guide states only regions can be embedded and the notifications cannot contain any message body.
    I am not sure what alternatives are available. If anyone has faced a similar issue , please let me know.
    thanks,

    Oracle Purchasing has such feature. Whenever a PO ha to be approved a notification is sent to the buyer with the url to the Purchase Order. Once he clicks on it the HTML Purchase Order page opens and he can hit approve.
    So you might want to look at the piece of functionality to achieve the same
    Thanks
    Arun

  • How to attach an Excel document with the Workflow notification?

    Hi,
    I need to pass an Excel document through workflow process in several notification nodes. Do you have any demonstration example which shows how to implement it? I found some threads like this, but nobody send me the example. I think I need the example's with Oracle Text and workflow 2.6.3 and an example inside Oracle Collaboration Suite(OCS) Files. Please send these examples to [email protected]
    Thanks a million
    Tulip

    Hi,
    I had the same issue and I found that Oracle Workflow does not attach files. The solution is to create a table with blob, clob, ordsys, etc data types and reference to the file from a notification and a message.
    I did an interface with java to read the document, and then put the link in the oracle workflow message. The link opened the file.
    So, for any workflow development is recomended to use your own Entity-Relation Model, including the process number and the files attached to that process.
    Regards,
    Santiago Meneses
    [email protected]
    Quito-Ecuador

  • Documents Linked to SAP Notification

    Hi All,
    On an SAP Notification I have configured a tab for the screen area 092 DMS LInks.
    Is there any way to make the All Versions button the default when you are creating, changing, or viewing a notification.
    Currently it is always coming up in the Current Version option.
    Thanks,
    Bill Pickett

    Hi Bill,
    by debugging the coding which is responsible for the display of the linked document info records I found a possible reason for the behavior in the following coding:
    Main Program     SAPLCV140
    Source code of   LCV140U22
    FUNCTION         CV140_LINKS_SCREEN                                                                      
    *load actuell or all version in display screen
        READ TABLE gt_tdwot WITH KEY dokob       =  pf_dokob
                                     set_version = '1'.
        if  sy-subrc = 0.
          lf_set_version = 'X'.
          gf_actuell_show = 'X'.
    To correct this behavior I would kindly ask you to change the customizing in transaction DC10 for document types under 'Define object links' and set the value for field 'Document Version' to '1' too. Afterwards the display of object links should be set to   
    'Current versions' as default. 
    To grant that allways the currenct screens and authorizations were called please maintain also the value "1" into the "Authorization" column. For further informations on this maintainance please see the SAP note 1066915. It's important that you not enter the mentioned screen number wihtout the leading "1" as this number is added automatically by the system (e.g. object MARA 1201 maintain like MARA 201). You can do this in customizing under:                                                                               
    Transaction SPRO > Cross-Application-Component > Document Management > Control Data > Define screen for object links
    If you need the dynpro number or object you will find all standard SAP objects and their screen number in function module CV130 (Screens) by transaction SE80. Please maintain all necessary SAP objects.
    Best regards,
    Christoph

  • Attach document as a link in oracle workflow notification

    Hi,
    I have a requirement to attach a word document stored as BLOB in database as a link in workflow notification.The link (document) should be visible and opened both from the workflow notification in the workflow admin notification queue and notification mail the approver receives.
    I am getting the document from fnd_lobs and storing it in the item attribute of type Document.
    Please help me how to attach the item attribute of type Document as a link in the notification.
    This is urgent and any help is highly appreciated.
    Thanks
    David

    For attaching a document you need to perform the following steps
    1. The document type item attribute which is referred by message attribute must have the value in the form
    PLSQLBLOB:SA_MLRTST.GETBLOBDOCUMENT/&DOC_ID
    where SA_MLRTST.GETBLOBDOCUMENT is the PL/SQL procedure that generates a PL/SQL BLOB
    DOC_ID is an attribute representing the file_id column in fnd_lobs table
    2. The procedure GETBLOBDOCUMENT() must be of the form
    CREATE OR REPLACE package body SA_MLRTST
    as
    procedure getBlobDocument(document_id in varchar2,
    content_type in varchar2,
    document in out nocopy blob,
    document_type in out nocopy varchar2)
    is
    l_docid pls_integer;
    l_filename varchar2(100);
    l_errmsg varchar2(100) := 'The Document is not found in the Database';
    l_bdoc blob;
    l_data_type varchar2(100);
    begin
    l_docid := to_number(document_id);
    dbms_lob.CreateTemporary(l_bdoc, FALSE, DBMS_LOB.Session);
    select file_data
    into l_bdoc
    from fnd_lobs
    where id = l_docid;
    dbms_lob.Copy(document, l_bdoc, dbms_lob.getLength(l_bdoc));
    exception
    when others then
    dbms_lob.WriteAppend(document, length(l_errmsg), l_errmsg);
    wf_core.context('SA_MLRTST','getBLOBDoc',document_id);
    raise;
    end getBlobDocument;
    end SA_MLRTST;
    commit;

  • Sending Workflow notification with OAF page link through PL/SQL

    Hi Workflow Experts
    I have a requirement where I want to send a FYI notification to a user.
    And I have to add a link to my OAF screen in this workflow notification.
    Please let me know if i have to create a workflow for this or can this be done by calling some workflow api.
    Thanks in advance
    Navneet
    Edited by: Navneet01 on Feb 20, 2013 10:59 PM

    Try by defining the message attribute holding the link to the framework region. Then, once the notification has been created (sent) call WF_NOTIFICATIONS.SetAttrText to set the value of the region in that attribute value.
    Regards,
    Alejandro

  • #ATTACHMENTS handler in workflow notification for multiple attachments

    I would like to attach multiple documents to a workflow notification. The number of attachments are not known at design time.
    I see that #ATTACHMENTS handler is used for purpose, but I am not clear how to use it with PLSQLBLOB usage.
    How to return multiple documents to the #ATTACHMENTS special handler using PLSQLBLOB?
    Created a message attribute of Type=Document and gave internal name as #ATTACHMENTS. Now time to set a PLSQLBLOB function, but to attach multiple documents. Not sure how ....
    Note, I do seem some examples with FND:entity usage which shows attachments fine in the worklist, but the attachments are not shown in the email when using workflow mailer due to limitations with FND usage. Using PLSQLBLOB Document, I'm able to show attachments in both worklist and email, but each document attribute can handle only one attachment file. The number of attachments are not known at design time. I would like to use #ATTACHMENTS handler but for PLSQLBLOB usage.
    Can some throw more light on #ATTACHMENTS tag with PLSQLBLOB usage for multiple attachments?
    Thanks!

    hi Sanni
    please view this page.It is not direct answer. But it might help
    https://sites.google.com/site/shareapps4u/learning-topic/workflow-tutorial/how-to-attach-document-with-notification
    I have a similar requirement like yours.I need to attach the document when user sends reply to a notification.
    Can you please guide me in that.
    I appreciate your help in this. I heard that Oracle Standard functionality does not support this.
    Appreciate your help
    kp

  • Link to OAF page from workflow notification

    I am trying to give a link in a workflow notification to the customer details page in R12. I decompiled the Controller classes of the customer pages to get the parameters that the page needs.
    The page I am trying to access is defined as a function , AR_CUS_OVR with webhtml call :
    OA.jsp?page=/oracle/apps/ar/cusstd/ovrview/webui/ArCusOvrPG&OAFunc=AR_CUS_OVR
    I got the url for this page using the following function :
    FND_RUN_FUNCTION.GET_RUN_FUNCTION_URL
    (25779,660,21623,null,'HzPuiPartyId=32551,cusType=ORGANIZATION,HzPuiSubjectPartyType=ORGANIZATION')
    When i paste this URL in the browser, if I am not already logged in , I am directed to the login page and then I get an error :
    You have insufficient privileges for the current operation. Please contact your System Administrator.
    If i am logged in, i directly get the above error.
    I searched the DB to see where this message is thrown but did not find any match. It's probably thrown from some OAF page.
    The function is attached to the menu and my user has the required responsibility. I can access the page if i login and navigate to the page.
    It's probably the URL , but I am not able to lay a finger on the problem. Please let me know if I am missing something here.
    Does anyone know when this error is raised.
    thanks,
    Satya

    I was trying to access the page by pasting the link directly in the browser. I guess that's why it was throwing the indufficient privileges error.
    If I click the link from the notification, it tries to bring up the page. But throws a sql exception about invalid number.
    I checked the controller code in ArCusOvrCO.java. If the parameter cusType is null, the controlller invokes a method to get custType by calling amethod in the AM which executes a sql statement, SELECT party_type from HZ_PARTIES where party_id = : 1
    This parameter HzPuiPartyId is used for this. It looks like all the parameters are passed as null even though I am passing them .
    Is the following way the right way of passing multiple parameters to the function :
    FND_RUN_FUNCTION.GET_RUN_FUNCTION_URL. I am just passing a comma separated list.
    'HzPuiPartyId=24553,cusType=ORGANIZATION,HzPuiSubjectPartyType=ORGANIZATION,HzPuiPartyName=EOM40,HzPuiObjectPartyType=ORGANIZATION,HzPuiObjectPartyId=24553'
    thanks,
    satya

  • UCM workflow notification - link to document asking for credential.

    Hi,
    We are using UCM 10gr3 and WCI 10gr3 in our project. We have integrated the content from UCM on to the portal KD through crawler. Also we have some workflow in place as well.
    The problem that we are facing is: The link to the docuemnt in any workflow notification from the content server is prompting for credential.
    We want to by pass this..i.e on clicking on the link of the documents it should not asked for credential rather it should show the conent information.
    Any help is much appriciated.

    OK this is a very different but interesting question...
    Lets have another look.
    If I understand you, users are already logged into a Windows domain and these credentials are used to authenticate with WCI using 'Integrated Windows Authentication' IWA through the browser.
    It is possible to get UCM 10gr3 to use IWA also but this requires that UCM is installed on a Windows Server and is using IIS as the webserver.
    If that is the case then the UCM ISAPI plugin code can handle the IWA for you. you would then need to make sure (via a provider and possibly a credential map) that AD group memberships are available to UCM and are clearly mapped to UCNM security roles. Provided the roles evaluate to give the user permissions on the expiring content it will all work without authentication.
    NB UCM 11g works in a completely different way
    If UCM is installed on *nix or using Apache then this will be too much effort!                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Workflow Notification Link

    Hi All ,
    I have a requirement and it is very urgent ......
    Requirement goes like this,,,,
    from Workflow side i have a notification link ,,,,,,,
    In oracle apps R12 home page ,,, i have that Workflow Notification link ,,,,
    when i click this notification link it should navigate to Standard PO page and display all the data in the fields..........
    From OAF side i have to pass two parameters and based on parameters ,,, it should display the details on the standard page ...............
    Please do help me out ,,,,,, its very urgent ,,,,,,,,,,,,,,,,,,,
    Thanks,
    Kalyan.

    Hi Sridhar,,,,
    In PR
    //NotificationID is the parameter passed from Your workflow
    // Logic to check if the page is navigated from notification and show the page in view mode,
    // if the page is navgiated from notification
    String notificationID = (String)pageContext.getParameter("NotificationID");
    if(notificationID!=null)
    OAPageButtonBarBean butbar = (OAPageButtonBarBean)webBean.findChildRecursive("pageBtnBar");
    OALinkBean wflinkBean = (OALinkBean)butbar.findChildRecursive("backtoWorkFlow");
    wflinkBean.setRendered(Boolean.TRUE);
    status="INITIATED" ;
    pageContext.putSessionValue("NotifId", notificationID);
    As per the code ,,,,
    My parameters are : RunId & RunName
    In PR :
    super.processRequest(pageContext,webbean);
    OAApplicationModule oaapplicationmodule = pageContext.getRootApplicationModule();
    OAViewObject vo = (OAViewObject)oaapplicationmodule.findViewObject("DisplaydetailsVO");
    String runid = (String)vo.getCurrentRow().getAttribute("Runid").toString();
    String runname = (String)vo.getCurrentRow().getAttribute("RunName").toString();
    if(vo!=null)
    OAPageButtonBarBean butbar = (OAPageButtonBarBean)webBean.findChildRecursive("pageBtnBar");
    OALinkBean wflinkBean = (OALinkBean)butbar.findChildRecursive("backtoWorkFlow");
    vo.executeQuery();
    vo.setWhereClauseParams(runid);
    vo.setWhereClauseParams(runname);
    Does this code works as per my requirement ,,,,,,,,,,,,
    My Requirement is ,,, when i click on link it should go to standard page and display the page details..........

  • Invoking Web service from iProc Workflow Notification,OAF Changes?

    I have a Requirement to Digitally sign the Requisition before the requisition is finally approved. We have a role in iProcurement, 'Certifying Official' , who would be the final approver. When the 'Certifying Official' receives the notification and clicks the 'Approve' button , we make a call to a web service to get the Digital signature and display a new page with the Requisition information back to the user. The user can choose to either save or cancel the Signature , if they save the signature we will display a confirmation page and comeback to the workflow process .
    I was wondering what a better approach would be
    1) Cusomize the OA Framework (Extend the controller) notification page and call the web service to digitally sign the Requisition and forward the user to a new page. Based on the user selection, I will have to re-direct to the new page or comeback and execute the workflow.
    2) Customize Oracle workflow. If choose the workflow route, I was wondering If i would be able to display new pages based on the user action.
    3) Have a link on the Notification page.
    Thanks

    You can use either of these two options. Even with using option 2 you have to extend the controller to fetch the nextPage from the workflow using appropriate API's. So better use the first option by extending the controller, call the webservice and forward to the required page.

  • Why do I not get the checkout option for a pdf type document when clicking on the document link in the SharePoint workflow task?

    We are trying to use workflows to review and edit pdf files in sharepoint 2010. We are having a couple of issues and am hoping someone has the answer.....
    1)  When myself and coworkers click on the pdf document in the library, we get the check out option as expected.  However when we click on the document
    link in a workflow task (on the sharepoint site), the pdf opens as a temporary file and we do not get the check out option.  Why does this happen????? 
    2)  The same thing happens when we click on the document link in the workflow task email;   HOWEVER,  one of our co-workers does get the
    check out option when clicking on the link in the email task.  Why would she get the checkout option using the email and not when clicking on the link in the task list on the sharepoint site ????  We have compared our internet settings and adobe
    settings to ours and found no differences.
    We are using Sharepoint 2010, Windows 7, IE8, Adobe Reader X or XI.  Some of us have Adobe Pro X and have the same issues.

    Hi,
    According to your post, my understanding is that you could not get the checkout option for a pdf type document when clicking on the document link in the SharePoint workflow task.
    I try to reproduce the issue, however, no matter when I click the pdf type document in the library or click on the pdf document link in the workflow task email, it download the pdf doucment and then I can open it.
    It will be better if you can descript how you
    get the check out option as expected when you click on the pdf document in the library.
    Then I upload a
    word type document to the library, no matter when I click the word type document in the library or click on the word document link in the workflow task email, I can open the word document directly and get the check out option as expected.
    I recommend to use the other type docuemts to check whether the check out option works.
    Thank you for your understanding.
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Direct link to file in workflow notification email

    Hi everyone,
    I know that I can set up a workflow for each of my forms where an email is automatically sent to specific people. If I have a file upload field on my form, is it possible for there to be a link to the file that was inserted in the CRM via the form, in the workflow notification so that whoever receives the email can just click the link and the file will download?
    Thanks in advance for any help.

    Only at a certain size, any higher your directed to view the case in the admin which has the file.
    As a not I say often to people about workflows etc - These emails are as their named - Notifications. They are not intended to be the means you run an online business and just emails is something for a BC site not to rely on. They have limited information and scope and everything and more is within the admin and the depths of the CRM in a browser that can run dynamic and rich content information.

Maybe you are looking for