280 Patterns: Building Serial and Parallel Processes for IBM WebSphere Process Server V6
11.3.4 Creating the business rule BSMChooseWh
When the WhSelector business state machine sends order requests to
wholesalers, it identifies the wholesaler by means of an integer index. An index
value of 1 represents WholesalerD. An index value of 2 represents WholesalerE.
To allow the integer index to invoke the desired wholesaler, we use a business
rule.
The use of a business rule was chosen for two reasons. First, it allows a quick
way to build an
if this condition, invoke this service structure. Second, through
the use of templates, it allows the user to change the business rule without
redeploying the component. In this example, a business rule can ...