Scenario:
the ubiquitous example of an order and its order lines -
XSD
Test XML input
In the BPM process I need to loop thru the order lines.
The basic process looks as follows -
I created a fileAdapter(Read) which triggers the process.
I created the following process variables -
To begin with, I copy the incoming order to the v_order variable.
Then I get the count of incoming order lines -
Now to the looping subprocess -
The loop condition is defined as follows -
Note we have this sub-process variable loopCounter generated for us.
Now to the actual processing - I just copy the orderLine[n] to a variable.
Deploy and test
Wednesday, August 31, 2011
Subscribe to:
Post Comments (Atom)
5 comments:
Thanks a ton. This blog saved from a tight spot.
Thanks a ton. Saved me from a tight Spot.
Thanks a ton. This article saved me from a tight spot.
Thanks a ton. This article saved me from a tight spot.
Thanks a ton. This article saved me from a tight spot.
Post a Comment