cancel
Showing results for 
Search instead for 
Did you mean: 

mappinge in bpmcollect

pradeep_nellore
Participant
0 Kudos

Hi,

I face a mapping problem in the BpmPatternCollectPayload.

I edited above IP and applied to my scenario.My scenario is:

1.Recieve 2 files of same structure.

2.When counter = 2 , loop stops and combines 2 files and outputs a single file with 2 records.

I am lost in Mapping.

What are the things to be considered in mapping.

Also any speicfic steps in IP??

Thanks

Pradeep

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

important is that you go in message mapping to the messages tab and set the occurrence of sender to 0... unbounded (same for the source message in interface mapping).

In IP you container for collecting your messages have to be multiline.

Regards

Patrick

pradeep_nellore
Participant
0 Kudos

Hi,

I alreday followed above 2 steps.

Any other things to be followed.

Thanks

--Pradeep

Former Member
0 Kudos

Hi,

you need to upload the sender by using messages tab in message mapping,

U need to define the correlation element other wise it shows the error message.

go through the below blogs.

Regards,

jayasimha jangam

pradeep_nellore
Participant
0 Kudos

I did the first step.

But, in correlation what should i correlate.

I recieve 2 different messages of same structure.When counter = 2 my process ends and they should go for mapping.But mapping step is not executing.

Thanks

Pradeep

prateek
Active Contributor
0 Kudos

How r u making sure that for each file at sender, a new BPM instance is not created. Because ur second file may be behaving like first file of new BPM instance. For avoiding this, u may use correlation.

Regards,

Prateek

pradeep_nellore
Participant
0 Kudos

But,what should be correlated.

Can you pls confirm??

Thanks

--Pradeep

prateek
Active Contributor
0 Kudos

It can be any unique field of the incoming file. Like an ID which is common to both the files, and is different than other pair of file.

/people/sravya.talanki2/blog/2005/08/24/do-you-like-to-understand-147correlation148-in-xi

Regards,

Prateek

former_member859847
Active Contributor
0 Kudos

Hi,

Correlation is used as condition.

i.e based on which condition your are merging the two files.

assume, in the file one filed value wil come as 'A'.

then megre the files, which are having that filed value as 'A'.

for this u have to use correlation and activate the correlation object.

warm regards

mahesh.

pradeep_nellore
Participant
0 Kudos

Hi,

I have same structure in the 2 incoming files.I just want to collect them and send as single file with 2 records.

Because it has same structute i can correlate any files.Am i right??

Thanks

--Pradeep

pradeep_nellore
Participant
0 Kudos

Hi,

can somebody tell what could be the correlation for above scenario,

Thanks

--Pradeep

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Correlation can be defined to solve your problems,It can be used to collect the files related to same scenario and mapping would be executed for the same.So, Try to find a relation between the files which has to be executed by one BPM instance.

Thanks,

Kiran