Multiple attachments in Workflow Notification

Hi All,
We are trying to attach multiple(Two) files to the workflow notification. We are able to get the two attachments. But the problem is in the notification from front end both the attachments are opening the same file, where as the attachments in the outlook are showing different contents and the file name is same for both the attachments.
Please can anyone help us in this. This is very urgent requirment.
Thanks,
Varun

Hi Jubish/Venkat
1. I iterated this fucntion moudule to store the multiple attachments to the workflow
   SAP_WAPI_ATTACHMENT_ADD
2. Call this FM to get the attachemnts form the workflow (pass workitem Item id which is used for storing the attchments).  SAP_WAPI_GET_ATTACHMENTS
from above you will get objkey for each attachment as output in table.
3. Pass the  objkey to this FM to get the contents
SO_DOCUMENT_READ_API1'. this will retrun the content of the attachment either in object_content,   contents_hex.
4. Pass the Obtained content to SCMS_BINARY_TO_XSTRING to get the disired format.
Best Regards,
Chandran S

Similar Messages

  • How to store Multiple Attachments in Workflow.

    Hello All,
    I am doing an scenario, in that i need to store multiple attachments in the workflow container.
    Kindly help me, how to store and also, how to retrieve those attachments form worklfow.
    I am using custom workflow.
    Thanks in advance......
    Best Regards,
    Chandran S

    Hi Jubish/Venkat
    1. I iterated this fucntion moudule to store the multiple attachments to the workflow
       SAP_WAPI_ATTACHMENT_ADD
    2. Call this FM to get the attachemnts form the workflow (pass workitem Item id which is used for storing the attchments).  SAP_WAPI_GET_ATTACHMENTS
    from above you will get objkey for each attachment as output in table.
    3. Pass the  objkey to this FM to get the contents
    SO_DOCUMENT_READ_API1'. this will retrun the content of the attachment either in object_content,   contents_hex.
    4. Pass the Obtained content to SCMS_BINARY_TO_XSTRING to get the disired format.
    Best Regards,
    Chandran S

  • Yahoo Mail not receiving attachments from Workflow Notifications

    One of my clients uses Yahoo Mail and receives Workflow Notifications on their Yahoo Mail address. For some reason, file attachments are being removed within the Workflow Notification. I set up my own Yahoo Mail account and have the exact same issue.
    Another issue is that the "view this item" link doesn't work at all within Yahoo Mail. However, the "mailto" link does work.
    Has anybody else experienced issues with Yahoo Mail?

    Hi,
    If the yahoo user has admin access to the site then the attachment should appear within the workflow email. 
    If still experiencing such issue I would recommend raising a case so we can investigate this ASAP. Please include the users in question and also the email attachment or screencast so we can attempt to replicate within your case. 
    Admin -> help&support (to submit a case)
    Thanks,
    -Sidney

  • #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

  • Can we send attachments in workflow email notifications ?

    Hi All,
    I have a requirement where attachment needs to be added in the workflow email notification. Can we do that in SAP ?
    If you know any pointers then please reply.
    Thanks & Regards.
    Raman Khurana.

    Hi raman,
      Please check
    Attachments in Workflow.
    Thanks,
    sahiba

  • Need help in displaying multiple attachments in a OAF Page

    Hi,
    I need to display attachemts of requisition line in a OAF Page(Notification Detials Page)and the attachments can be more than one.My custom VO returns it as a single string like url1, url2.. etc.
    I need to show them as seperate links.
    I tried using the Item Style as LINK.But it is not working.It is prefixing the server url before the View Attribute and creating a single link.
    Any help in this regard will be appreciated.Thanks in advance.
    Srini

    Hi skeerthi,
    If you are using the core attachments table (FND_ATTACHED_DOCUMENTS and the like), you can have a look on the Developer's Guide on chapter 4: Implementing Specific UI Features, section "Attachments", there is a seeded region available for displaying multiple attachments.
    If you are not, then i'd recommend refactoring :D... Just kidding, it would be nice to use the core feature, but if the table is custom, and the links are stored separated by commas, you will have to write controller code to implement that. That can be done by:
    1) Creating an Application module method that uses StringTokenizer to tokenize the attribute String (use getViewObject().getCurrentRow().getAttribute() to get the comma-separated value) and return that to the controller
    2) In the controller, receive the StringTokenizer and for each token, use the api createWebBean() to create an OALinkBean and add it to a layout region using addIndexedChild() api.
    This way you will dinamically create a Link for each attachment. If your layout region is, for example, tableLayout, you can create a rowLayout for each token, then create a Link, add the link to the row layout and finally add it to the tableLayout. By doing so, you will create a table-style attachment region.
    Hope it Helps
    Thiago

  • Add Org Id in PO Workflow Notification

    Hi All,
    Can any one help me in adding the Org Id in PO Workflow Notification as we are on 11.5.5 having Multiple Organizations.
    Thanks in advance,
    Tulshi

    Please provide more information on which notification (message). There is ORG_ID attribute, can not use this attribute.

  • 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

  • How to create multiple outecomes in workflow

    Hi Gurus,
    I am developing the PR workflow. and in that I want to create 2 different nodes for signle activity.
    how can I create those multiple outcomes for signel activity in workflow.
    Thanks in Advcance.
    Moderator message : Wrong forum, post the question in Workflow forum. Thread locked.
    Edited by: Vinod Kumar on Aug 3, 2011 1:49 PM

    Hi Jubish/Venkat
    1. I iterated this fucntion moudule to store the multiple attachments to the workflow
       SAP_WAPI_ATTACHMENT_ADD
    2. Call this FM to get the attachemnts form the workflow (pass workitem Item id which is used for storing the attchments).  SAP_WAPI_GET_ATTACHMENTS
    from above you will get objkey for each attachment as output in table.
    3. Pass the  objkey to this FM to get the contents
    SO_DOCUMENT_READ_API1'. this will retrun the content of the attachment either in object_content,   contents_hex.
    4. Pass the Obtained content to SCMS_BINARY_TO_XSTRING to get the disired format.
    Best Regards,
    Chandran S

  • How to create a HTML Table in Workflow Notification ?

    Hi,
    I have a requirement to display multiple records in a HTML table in Workflow Notification. I have developed the code. In my Notification, I am seeing HTML tags and not a formatted HTML report. Appreciate your help and comments.
    The following is what I have done in WF.
    1. Define attribute in WF of type Document
    2. Define Message in Text Body ( Should i also copy the same thing in HTML Body ??)
    The following is my PL/SQL
    Variable l_table is defined as varchar2(30000)
    -- HTML Table Heading
    l_table := '<table><tr><td>Amount</td>
    <td>Description</td>
    <td>Type 1099</td>
    </tr>';
    WF_ENGINE.SetItemAttrText(itemtype,
    itemkey,
    'FRB_DISTRIBUTION_HISTORY',
    l_table);
    When I get a notification, I get the following sample
    <table><tr><td>Amount</td>
    <td>Description</td>
    <td>Type 1099</td>
    <td>Receipt Required Flag</td>
    <td>Invoice Id</td>
    <td>Invoice Distribution Id</td>
    </tr><tr><td>100</td>
    <td></td>
    <td>MISC7</td>
    <td></td>
    <td>429684</td>
    <td>464834</td>
    </tr></table>
    I am missing something, Can you please let me know, what am i missing.
    Kiran

    Hi Matt,
    I am working on AP_WFAPPROVAL_PKG (Oracle EBS Invoice Approval Package).
    I have defined a Workflow Attribute as Type 'Document' (in Workflow Builder)
    In my AP_WFAPPROVAL_PKG Package, I am retrieving my values and returning it to a variable of type varchar2(32000) and seting the WF variable(displayed below).
    WF_ENGINE.SetItemAttrText(itemtype,
    itemkey,
    'FRB_DISTRIBUTION_HISTORY', -- This is my WF Attribute of type 'Document'
    l_table);
    When I see the notification, i get the format displayed below (I do see the correct values generated, but they appear as tag, and not as a HTML Table Report)
    <table><tr><td>Amount</td>
    <td>Description</td>
    <td>Type 1099</td>
    <td>Receipt Required Flag</td>
    <td>Invoice Id</td>
    <td>Invoice Distribution Id</td>
    </tr> <tr><td>60</td>
    <td></td>
    <td>MISC7</td>
    <td></td>
    <td>429681</td>
    <td>464827</td>
    </tr><tr><td>40</td>
    <td></td>
    <td>MISC7</td>
    <td></td>
    <td>429681</td>
    <td>464828</td>
    </tr>
    Please advise
    Kiran

  • How to handle Multiple attachments in sender Mail Adapter

    Hi,
         In our requirement is mutiple documents send through mail adapter, In custom java module we read the each document details and do it bussiness process. But now i am not able to read the multiple files at a time. we are able to read single file only. So plz give the solution for that.
    1) How to send multiple attachments(like word, PDF, JPG etc..) using mail apapter.
    2) How to read multiple attachments in custom java module.
    Thanks & Regards
    Vijay

    Hi Vijay,
    Go through this weblog this explains steps to multile attachments.
    /people/sravya.talanki2/blog/2006/01/12/xi-triggering-e-mails-with-multiple-attachments--problems
    Regards,
    Ashwin.

  • How to customize SharePoint Foundation 2013 workflow notification emails

    We have a SharePoint Foundation 2013 workflow that sends emails when certain criteria are met. We have tried to customize the emails using SharePoint Designer, but the emails that are received are different.
    Ho do we configure SharePoint to send the emails formatted as we specified in the workflow?
    The emails we receive are all formatted like this:
    Subject:
    [Company Name Workflow] - [Item] has been assigned to you
    Content:
    Task assigned by [User Name] on [Date].
    To complete this task:
    1.    Review [Item].
    2.    Perform the specific activities required for this task.
    3.    Use the Open this task button to mark the task as completed. (If you cannot update this task, you might not have access to it. Click here to request access.)

    Hi,
    According to your post, my understanding is that you want to customize SharePoint Foundation 2013 workflow notification emails.
    We’ll need to do a few things to replace SharePoint’s default notification with our own. The first thing we need to do is turn off SharePoint’s default notification. On the Workflow Tasks list, go the Advanced Settings and select
    No for Send e-mail when ownership is assigned. Then we need to create workflow to send email.
    There is an article for your reference, although it is about the SharePoint 2007, it still works for SharePoint 2013.
    Create a Detailed Custom Task Notification with a SharePoint Designer Workflow
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • How can we send multiple attachments in a mail from iPad 2

    Hi,
    I am using a ipad2. I want to know how we can send multiple attachments through mail from iPad. I did not find any option of doing this. Is there a way to do this.
    Regards,
    Satyabrat

    You can't do it natively on the iPad (unless you just want to send up to 5 photos from the Photos app). I use the GoodReader app which supports quite a few document/file types (e.g. PDF, Excel, Word, pictures), and from that I can select multiple files (including different types) and attach them to the same email.

  • How to configure Workflow Notification Mailer for oracle alert in R12

    Hi all....,
    How to configure Workflow Notfication mailer for oracle Alert in R12. Please provide the complete steps.. Its urgent.. Plz help me..
    Regards ,
    Madhan

    Duplicate thread (please post only once)
    plz help me...!!!! Workflow Notification Mailer
    plz help me...!!!! Workflow Notification Mailer

  • How to accept multiple attachments on selection screen?

    Hi All,
    I need to know how to accept multiple attachments on selection screen and send them as email to external system (outlook).
    Basically, my req is to send a common email with attachments to certain users. These users are displayed in ALV. User will select ALL or specific user from ALV and send an email with message entered on selection screen.
    I used text editor control to input message body. I need to know how to accept attachments and send them.
    Appreciate any inputs.
    Thanks,
    SKJ

    SAP uses a nifty little button called 'Object Services' on ME23N (top left) which you can use to attach documents to business objects.
    http://help.sap.com/saphelp_nw70/helpdata/EN/be/3fe63659241157e10000009b38f889/frameset.htm
    It's a complicated way of doing it but might give you extra functionality in the long run.

Maybe you are looking for