Designing and Implementing Composite Applications : webMethods CAF and OpenCAF Development Help : Working with CAF Events and Notifications : Configuring Simple Conditions
Configuring Simple Conditions
 
Modifying a Simple Condition
Deleting a Simple Condition
Rearranging the Order of Simple Conditions
You can specify the conditions that govern the behavior of an event handler or subscription. When the event or subscription is triggered in the run-time environment, it will be subject to these conditions.
Note:  
If you do not define any conditions, the event or subscription action occurs depending on the basic event action or subscription settings. If you find you cannot create the condition you want with the simple task conditions that are available, you can create an advanced (custom) condition expression. For more information, see Configuring Advanced Condition and Action Expressions.
To configure simple conditions
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. Expand the Conditions area if it is not already visible. In the Condition Type box, ensure that Joined List of Simple Conditions is selected. The Simple conditions editor appears immediately below the list.
3. Specify the following condition settings:
Note:  
The Join options are disabled unless two or more conditions are defined.
*Join — Click one of these three options to specify how the conditions will be evaluated:
*ALL are true — All of the listed conditions must be true to trigger the assignment.
*ANY is true — Any of the listed conditions must be true to trigger the assignment (that is, it can be one, two, or any subset of the condition list).
*ONE only is true — A single listed condition must be true to trigger the assignment.
4. Click Add to add a condition. The Add Simple Condition dialog box appears.
*In the Field box, click the browse button and select the data field you want to base the condition on.
*In the Operation box, select the operator you want to apply to the condition.
*In the Value box, type a value you want the Field value to be evaluated against, or click the browse button to select a data field.
5. Click OK to add the condition.
6. Repeat steps 2-4 if you want to add another condition.
7. Save your changes.
Copyright © 2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback