cancel
Showing results for 
Search instead for 
Did you mean: 

Reg BPM 2:1

Former Member
0 Kudos

HI Guys,

i have a requirement where 2 files has to be picked and post to two files.

conditions: if any one of the files are not picked then cancel the process.

Correlation: no common fields exist in the two files.so we can use constant.

can any one give me the steps to design the BPM

Thanks,

Madhu

Accepted Solutions (1)

Accepted Solutions (1)

prateek
Active Contributor
0 Kudos

If you have some time duration till which you want BPM to wait for the files, then

1. Block step with deadline monitoring.

2. Fork with two branches and number of necessary steps = 2. Both have a receive step.

3. Send1 async.

4. Send2 async.

Regards,

Prateek

Former Member
0 Kudos

Hi Prateek,

Thanks for the reply.

there is no need to wait for any input files.the files are ready in source location.

and can you give me the clear idea how to do the design.

Thanks in Advance

Thanks,

Madhu

Edited by: Madhu sudhan Reddy on Feb 11, 2009 11:58 AM

Former Member
0 Kudos

Hi,

Any one please suggest me on this.....

prateek
Active Contributor
0 Kudos

Madhu, you said "conditions: if any one of the files are not picked then cancel the process."

This could happen when one of the file is not received by BPM. At that time fork will ensure that it will wait for both the files before processing further. Deadline step will ensure that this wait at fork is not infinite.

Regards,

Prateek

Former Member
0 Kudos

Prateek,

can i use block step at the starting.

and what should be the end condition in the fork step.

so as per my understanding, if i use a fork step inside the block and a deadline branch for the block step and wait for 1 minute, then if any file is not picked the process will be terminated....is my understanding Right????

thanks,

Madhu

prateek
Active Contributor
0 Kudos

can i use block step at the starting.

Yes

and what should be the end condition in the fork step.

Not mandatory. Just provide number of necessary branches.

if any file is not picked the process will be terminated

Yes, the flow will move to deadline branch and you may use any step there to get executed.

Regards,

Prateek

Former Member
0 Kudos

Hi Prateek,

Thanks for the valuable suggestion.

iam doing that design.

if any thing is required then will update this same thread.

Hi Sunil,

Thanks a lot.

Thanks,

Madhu

Former Member
0 Kudos

HI Prateek,

I have done that process as you said.

one Block step and a fork step inside the block and two branches for the fork, each branch with one receive step and each can start the process.and a deadline branch to the block step with 1 minute and a control step to cancel process.

but, the files are picking and the messages are with the status "To be delivered" in integration engine.

please suggest

Thanks,

Madhu

Former Member
0 Kudos

Hi,

in XI go to transaction SMQ2 and execute it........process the entries in the queues............

Regards,

Rajeev Gupta

Former Member
0 Kudos

Hi Rajeev,

The messages in Integration engine.it didnt reached to Q

Thanks,

Madhu

sunil_singh13
Active Contributor
0 Kudos

Hi Madhu,

I guess something wrong with correlation that you have used. Anyhow you have to wait for 1 min to see the final state.

Are they going in SYSFAIL ?

thanks

Sunil Singh

Former Member
0 Kudos

Hi Sunil,

I Got it.

There is no SYSFAIL.

Thanks,

Madhu

Answers (1)

Answers (1)

sunil_singh13
Active Contributor
0 Kudos

Hi Madhu,

It is not possible to check if the file is not picked up by the adapter in BPM because if the file is not picked up you won't get any messages in Moni. So not possible to check if they are picked up.

You have to apply different condition like wait for some time (Use of deadline) .if within that period file is not picked up then go in exception branch.

Steps given by Prateek seems to be ok for me.

Thanks

Sunil Singh

Former Member
0 Kudos

Hi Sunil,

can we check if the receive step didnt receive the msg then terminate.

according to Prateek.

first a Block step and inside the block fork step with 2 receive steps each for one branch.

and two send steps.

my doubt is what should be the end condition for a fork step.

can i start the process with a block step.

Thanks,

Madhu

sunil_singh13
Active Contributor
0 Kudos

Hi Madhu,

As in the Fork Step necessary steps is kept 2 so untill both the receive step inside the fork get messages the fork will not complete and it will wait till the second Message arrives.

By using Deadline over the fork in a block you can ensure that it will not wait more than 1 minute and will cancel the process.

you need not to give any condition other than 2 necessary steps in the fork.

Thanks

Sunil Singh