bpm collect message
I am doing a bpm message dependent scenario. It keeps collecting messages till a particular message is received.
I more or less used the message dependent pattern given in SAP BASIS.
The data types are as follows.
1 to 1 mapping
I used the OverallId for correlation. The receive step inside the infinte loop collects the messages with OverallID '1' while the receive step below collects messages with OverallId '2'.
In the container elements i defined 2 separate message interfaces. One for OverallID '1' and the other for OverallID '2. The 2 message interfaces have the same Message type. Only values will be different.
For the parallel fork step i have given end condition OverallID = 2.
When i execute the scenario the messages are all comingin a queue. The status is wait for event.
What could be the problem?