cancel
Showing results for 
Search instead for 
Did you mean: 

Sending Email from BPM

Former Member
0 Kudos

Can anybody explain the process to send an email from BPM: (I must use BPM)

Scenarion in BPM:

1) RECEIVE step receives File

2) SEND step sends the file

3)* Need send to send an email based on the flag in the file recived in step 1.

<b>My difficulty:</b>

1) <b>How to receive the email content into BPM?</b>

2) When I try to receive the email content usng RECEIVE step in SWITH, it is asking for <b>CORRELATION</b>

3) I Defined a correlation in the first RECV STEP on the SUBJECT of the email

4) I am getting an error in SWITCH statment saying the condition I am using is invalid (flag in the file)

<b>My Design:</b>

RECV>SEND>SWITCH(File flag: 0 OR 1)

    • I am totally confused as to how to send an email from BPM.

    • Using SWITCH

Any help is greately appreciated..

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Venu,

What i understand is that you are receiving one file and then sending the file as well as sending mail.

So here you can avoid using BPM.

But still if you want to use..

Corelation is also not required in this case since you will be receiving files only once in your BPM.

You dont need switch.

We use switch when we have a situation where messages are coming from different systems and any message can trigger the BPM.

Are you receiving the email content in the first receive?

Regards,

Sumit

Message was edited by: Sumit Khetawat

Former Member
0 Kudos

Sumit,

What you understood is correct.

But,File has a flag as first field with values either 0 OR 1. My email message is different for these conditions.

I need to use BPM.

Can you please gudie me through the solution.

Thanks a lot.

Former Member
0 Kudos

I am receiving only the file content in first RECEIVE. Not email message.

Former Member
0 Kudos

Hi Venu,

So when are you receiving the email message?

In subsequent receive step?

Regards,

Sumit

Former Member
0 Kudos

Yes.