2 Replies Latest reply: Mar 3, 2014 11:02 AM by WP v.2 RSS

Supplying variable reply address to Notification Service in BPEL process

WP v.2 Newbie
Currently Being Moderated

Hi all,

 

I am using the Notification Service in my BPEL process to send out emails. The sender of the email (or reply address) is variable and is passed in to the BPEL process. I can't get the email to send with the reply address that's passed in. I've tried assigning it to both ReplyToAddress and FromAccountName but the only address that's being used is the one that was set up as the from account (as described in this Oracle document Configuring Human Workflow Service Components and Engines - 11g Release 1 (11.1.1.6.1)). I've tried the following but to no avail:

 

<assign name="AssignEmailParams">
     <copy>
          <from>'Default'</from>
          <to>$sendEmailRequest.EmailPayload/ns1:FromAccountName</to>
      </copy>
       <copy>
           <from>$inputVariable.payload/client:from</from>
           <to>$sendEmailRequest.EmailPayload/ns1:ReplyToAddress</to>
        </copy>
         ...
</assign>

 

<assign name="AssignEmailParams">
     <copy>
          <from>$inputVariable.payload/client:from</from>
          <to>$sendEmailRequest.EmailPayload/ns1:FromAccountName</to>
      </copy>
         ...
</assign>

 

Am I missing something? Any help would be greatly appreciated.

 

I'm using JDeveloper 11.1.1.7.

 

Thanks,

Bill

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points