SOA Magazine IV 01.2015
SOA Magazine IV 01.2015
SOA Magazine IV 01.2015
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
As already mentioned, in this demo I will be simulating an order process where I need to send three<br />
supplier quotations. The process shouldn't wait for all three quotations but just any two. So I will use the<br />
complex gateway and please notice how JDeveloper will automatically use the "Inclusive and Complex"<br />
pattern, adding an inclusive gateway split activity and a complex gateway merge activity.<br />
Since I want to send a request to all three suppliers I will change the complex gateway pattern to<br />
"Parallel and Complex". You can do so by right-clicking on the inclusive split activity and choosing from<br />
the context menu "Change Gateway configuration to -> Parallel and Complex".<br />
To simulate a supplier's request for quotation I used a human task component. I created a single human<br />
task for all three suppliers accepting all the defaults and just changing the human task title for each case.<br />
I created three user tasks on the process creating default sequence flows from the parallel split activity<br />
to all three user tasks and from each user task a default activity to the complex gateway merge activity.<br />
You should notice that there is a warning on the complex gateway merge activity that the expression<br />
from node is empty. If you go to the implementation details of the complex gateway activity you will see<br />
that you can define either a simple or an xpath expression to control, by selecting the "Abort pending<br />
Copyright © 2015 | All Rights Reserved <strong>SOA</strong> <strong>Magazine</strong> <strong>IV</strong> 107