Chapter 7. Using Business Rules to Define Decision Points
At runtime, there may be many potential paths through a BPEL process, controlled by conditional statements such as
while activities. Typically, the business rules that govern which path to take at any given point are written as XPath expressions embedded within the appropriate activity.
Although this is an acceptable approach, we often find that while the process itself may be relatively static, the business rules embedded within the activities may change on a more frequent basis. This will require us to update the BPEL process and redeploy it, even though the process flow itself hasn't changed.
In addition, by embedding the rule directly within the decision point, we often end ...