cancel
Showing results for 
Search instead for 
Did you mean: 

is it possible to execute one Operation Mapping after other in Integrated Configuration?

former_member201264
Active Contributor
0 Kudos

Hi,

I have a business requirement as below:

1. I need to send a File (NFS) to other File (FTP) and also to a EMail.

    For this, can I cofigure in my ONLY ONE Integrated Configuration as below:

    One Sender File Adapter with BS_SNDFile at the source side, One Receiver file adapter with BS_RCVFile and BS_RCVMail.

Now I  have send file to BS_RCVFile Successfully with one OM1 and MM1, but not able to send an email to BS_RCVMail with another OM2 and MM2.

Here, my query is that, how to pass the Inbound Interface of BS_RCVFile to the Operation Mapping (OM2) and Message Mapping (MM2) of BS_RCVMail.

Moreover, I need to send an email only with Inbound interface of first receiver as a subject to the second Mail Receiver.

is it possible? is so How to proceed? or any other idea?

Regards,

Sreeni.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Sreeni,

Your first requirement can be achieved by having a separate receiver interface for BS_RCVMail. Note that if you didn't use a MailPackage, the entire Payload will go as an attachment.

Couldn't understand the second requirement "Inbound interface of the first receiver to be a subject line of an email."

Another way you can achieve is by writing a UDF to send an email programatically using a JavaMail APIs which will eliminate the use of Mail adapter itself.

Regards

former_member201264
Active Contributor
0 Kudos

Hi Ameet,

Actually i have to two scenarios to send file to two Partners.

For these 2 scenarios, after sending the file using receiver communicaiton channel successfully, then i need to send an email to the two partners saying that we have sent the file to the partners.

Here our constrain is that, after successfull execution of the receiver file adapter, then only we have to send an email notification just notification with subject as we have sent XYZFile to Partner.

We can achive this by using OS Commands after message processing, but we need the same without OS Commands.

How to achive this?

Sreeni.

former_member201264
Active Contributor
0 Kudos

Hi All,

For more clearly, in one scenario I have configured two receivers with Integrated Configuration.

I am also able send the message to the two receivers at a time from the same.

Now my requirement is that, I have to send the message to the second receiver after first receiver successful message processing.

Can we do this logic in the Receiver Interface of Integrated Configuration OR in any other place?

Regards,

Sreeni.

Former Member
0 Kudos

Hi Sreeni,

For that u will have to use BPM. I guess under send step u can configure Transport acknowledgement. With that the system waits for adapter to complete send process. Then have another send step to send email.

Regards