Designing and Implementing Composite Applications : webMethods CAF and OpenCAF Development Help : Working with CAF Events and Notifications : Configuring Simple Conditions : Rearranging the Order of Simple Conditions
Rearranging the Order of Simple Conditions
You can rearrange the order of the simple conditions that govern event handlers and subscriptions.
When the Any join option is applied, conditions are evaluated in order, beginning at the top of the condition list, until a condition is matched. To speed up performance, you can, for example, move the conditions most likely to be matched to the top of the list, and place the least likely matches at the bottom.
Because you can call a service as a result of a event handler condition definition, you may want to create several conditions that search for simple matches, and if they fail, you can create an event handler action that calls a service with a more sophisticated matching algorithm.
To rearrange the order of a simple task condition
1. Open the project and the CAF Event Editor as described in Opening the CAF Events Editor and Enabling CAF Events.
*For event handlers, click the Handlers tab and click the handler you want to work with.
*For subscriptions, click the Subscriptions tab and click the subscription you want to work with.
2. In the Conditions box, select the simple condition you want to move.
3. Click the Up or Down button to relocate the selected condition in the list. Although this functionality is available for all join options (All, Any, or One), it has significance only for the Any join option.
4. Save the task to apply your changes.
Copyright © 2017 Software AG, Darmstadt, Germany. (Innovation Release)

Product LogoContact Support   |   Community   |   Feedback