Oracle BPEL Email Notification - Remove Attachment

By M&S Consulting (Ashok) on Jan 12th, 2008
Filed Under Technical Tips // Tags:

If you have used the email notification activity in Oracle BPEL (up through the latest version at the time of this writing, 10.1.3.3.1), you might have found that you always get an attachment for your email body, even if you don’t want one.  There is a solution:

Once in the scope of the email notification activity, look for a copy block like the following.  It typically contains ‘NotificationAttachment1.html’:

1
2
3
4
5
<copy>
<from expression=”string(’NotificationAttachment1.html’)/>
<to variable=”varNotificationReq” part=”EmailPayload”
query=”/EmailPayload/ns1:Content/ns1:ContentBody/ns1:MultiPart/ns1:BodyPart[1]/ns1:BodyPartName”/>
</copy>

You should remove this completely and voila - you’re email with show up in the body of the email. 

Note: you should still pick multipart message with 1 attachment (just unintuitive UI in JDeveloper for this).  So, if you pick 2 attachments, you will actually get 1 attachment.

Bookmark and Share

Related Information:

  1. Oracle BPEL Sensors for Real Time Event Publishing from Business Processes - A Design Perspective
    This article is a look at Oracle’s BPEL Sensor approach to publishing real time data and events for in flight...
  2. AddThis - Email Option
    If you have tried using the AddThis button on your web site, you may not have seen an “email” option...
  3. Oracle BPEL - Wait Activity Stuck or Hanging - Never Returns to Console
    This is a very, very common complaint I hear from Oracle BPEL developers, testers, and production support. I find there...
  4. Invalid Nested Schema Loading Error with Oracle BPEL, AIA/PIP
    I faced this issue in the context of building an Application Business Connector Service (ABCS) using AIA / PIP, so...
  5. Oracle BPA -> BPEL Manual Configuration Items
    Oracle BPA does a great job importing into BPEL, but here are a few items that need to be manually...
  6. Oracle DBMS_SCHEDULER vs DBMS_JOB (Create, Run, Monitor, Remove)
     DBMS_SCHEDULER is a newer, more complex job scheduling engine released in 10g, intended to replace DBMS_JOB going forward. DBMS_JOB,...
  7. BPEL Database Polling - Oracle SOA 10.1.3.x in JDeveloper (Asynchronous)
    Polling for changes in a database has been a requirement for systems for a very long time. With Oracle BPEL,...

Leave a Reply


Archives

Recent Comments

  • Tony Hale said: What a great resource these videos are! These are all very helpful. Anything you can do to popularize...
  • Mohammed said: Hello, Thanks for the tutorial, but I’ve noticed that the link isn’t setup right,...
  • shekar said: thanks mate, you saved my day… the link is still working….
  • romit said: thnx a lot.. i had been searching for this link from last 4 days. and was just about to quit my search...
  • Ram said: By the way, FB 4 includes both SDK 4 and 3. Therefore if you are looking for FB 3, download FB 4 and point...

Calendar

September 2010
M T W T F S S
« Jul    
 12345
6789101112
13141516171819
20212223242526
27282930  

Featured Testimonial

"M&S has taken 'partnership' to a new level. They are not only a deeply skilled service provider, the M&S team is actually a mission critical component to our operations, taking on new initiatives as well as maintaining custom, open source, and COTS solutions."

CEO, MedPivot

Free SQL Service