Posted on Apr. 29, 2010 at 11.00 AM - Kuala Lumpur, Malaysia
It's quite common to use business process management to collect items before passing further to the back end system to process it. One typical example is purchase order items coming from many affiliated companies have to be collected first prior to placing the order to the vendor by the central purchasing department.
So, how do we do that?
1. Create one block step with loop step, receive and container operation steps
Below is the property of the block
2. Make sure that the block step use correlation
In this example we use customer ID to correlate between items
3. Add in loop step
In this example, we are going to collect 3 items before passing it to the back end system
4. Add in receive step
This step is to receive message from the sender to integration process
5. Add in container operation step to count up to 3
The counter has to be made just as local container to the block
6. Add in container operation step to collect the items
For that, we have to create a result container which is multiline
Life is beautiful! Let's make it meaningful and colorful!