cancel
Showing results for 
Search instead for 
Did you mean: 

BpmPatternCollectTime

former_member474221
Participant
0 Kudos

Hi

i am creating the same kind of BPM as specified in SAP BASIS -> http://sap.com/xi/XI/System/Patterns ->BpmPatternCollectTime

1.  block ( have specified correlation here )

2. inside block i have a loop

3. inside the loop there is a receive step which activates and used correlation ( based on a ID field so that all the files with same ID field can be collectd)

4. after the receive step i have a container operation which collects messages into a "multiline" element

5. After that i have a transformation step which has the multine element as input and collected message as output

6. send step

I also have a deadline step which will cancel the process after 5 min.

however if i put 3 files having the same ID ...then the process waits for 5 min but these files do not get collected and then the process gets canceled...

Actually my correlation is not working....what could be the problem ??

your help will be highly appreciated

Accepted Solutions (1)

Accepted Solutions (1)

baskar_gopalakrishnan2
Active Contributor
0 Kudos

You basically follow the standard pattern methodology... Not able to understand why your  correlation portion is not working. Can you check the thread replies and see you correlation apply as per the recommendation.

http://scn.sap.com/thread/357605

Answers (1)

Answers (1)

rajasekhar_reddy14
Active Contributor
0 Kudos

1)What condition you have given in loop?

test1:

Put one file and run interface and see the results.

Test2:

Test 1 successfull then place same file 3 times and see the resutls.

I hope your mapping supports 3 messages.

Regards,

Raj

former_member474221
Participant
0 Kudos

i have specified 1=1 in the condition so that it is always satisfied...

to complete the loop i have deadline branch over it...

If i run one message or 3 message all of them go in wait ( clock in moni )

the issue is the correlation is not working and hence after 5 min the BPM is canceled as specified in the deadline branch

zameerf
Contributor
0 Kudos

Did you go to the technical steps in moni and checked what were the steps executed?

May be you can share the screenshot of your BPM here.