cancel
Showing results for 
Search instead for 
Did you mean: 

error in correlation-using ParForEach mode

Former Member
0 Kudos

hi

i have to split a file into multiple files(say 1,2,3,4) and then post them to the target.And i also need to get an acknowledgement for each of the target files.For this am using correlation and ParForEach mode

My problem is that when i place the file,instead of 4 files (1,2,3,4) gettign placed), 4 files(4,4,4,4) is gettign placed.That means that only the last of the splitted file is being posted for each instance.

therefore correlation is also not workign properly.

can anyone tell how to make the scenario run properly?

Please help

Accepted Solutions (1)

Accepted Solutions (1)

prateek
Active Contributor
0 Kudos

It seems to be some problem with your BPM configuration.

1. The output of mapping should be a multiline object which should have 4 values at runtime.

2. This variable should act as input to Block ParForEach.

3. Send and receive step inside block should have same Correlation name and it should not be same as any other correlation used across the BPM.

4. Send step inside the block should not have complete multiline variable as its input. The input (which we set in properties) should be a container variable that can hold only single value.

5. Receive step in Block should also follow the same rule as 4.

Regards,

Prateek

Former Member
0 Kudos

hi prateek.

it seems that my scenario was configured correctly.It wasnt workign coz of server prob.

However thanks for ur help.It is really appreciated:)

Answers (0)