Chapter 8. Process choreographer: developing a complex process 249
9. This completes the Visual Condition which should now read:
BookCarInput.location.equalsIgnoreCase( "New York" )
A control link will only be followed if its condition evaluates to true. This Visual
Expression will ensure that this link is only followed when the car booking
location is New York. This means that our broker will only return an ABC Car
Reply for New York rentals.
We want to complete the business logic by saying that in all other cases the
broker should send an XYZ Car Reply. We can do this by saying that the
alternative control link path has a condition of ‘otherwise’. This means that if
all other control link options evaluate to false then this link should be ...