Hi everybody,
I have the following scenario: I am receiving multiple messages (orders), some of which have the same value in one of the fields, i.e. GroupId. I am trying to aggregate/bundle the ones that have the same GroupId into a single message, and then send that message with multiple items inside instead of sending multiple messages.
I tried implementing this using ccBPM, but it seems I am doing something wrong, or I am missing something. Could you please help me with this?
Here are the steps that I did so far:
1. Created data types and 2 message types, orderOut (outbound) and orderIn (inbound)
2. One async outbound interface, one async inbound interface and 2 abstract interfaces
3. Message mapping (I kept playing with the occurrences, so I don't know if my problem doesn't come from here...)
4. Interface Mapping (outbound interface -> abstract interface):
5. Integration Process (I tried adapting BpmPatternCollectTime fromhttp://sap.com/xi/XI/System/Patterns in SAP BASIS, and set the time to 2 minutes - so all orders that have the same groupID and come inside that interval, to be bundled up in the same output message):
where:
Receive Step:
Container Operation:
Transformation:
Send Step:
(the system highlights with red what has errors)
Container:
Thank you in advance for any suggestions!