The Rules section of the Add Rule wizard lets you create and group rules together based on the Boolean operators AND or OR, which tell the system which keywords the application's content must include or exclude before the application's agent executes.
AND or OR – use these operators to specify what terms must appear in the selected application's content. When you click OK, the rule is summarized in the Execute Agents When field.
equals (number) – converts the application data into floating point numbers for the equals comparison. If the data is not numeric, the comparison fails.
is greater than – converts the application data into floating point numbers for the greater than comparison. If the data is not numeric, the expression returns false. The application data must be greater than the value supplied in the rule’s text field.
is less than – converts the application data into floating point numbers for the less than comparison. If the data is not numeric, the expression returns false. The application data must be less than the value supplied in the rule’s text field.
equals (text) – compares the application data to the text supplied in the rule’s text field. If they are equal, the expression returns true.
contains – returns true if the application data contains the text string supplied in the rule’s text field.
starts with – returns true if the application data starts with the text string supplied in the rule’s text field.
ends with – returns true if the application data ends with the text string supplied in the rule’s text field.
matches RegExp – returns true if the application data matches the regular expression supplied in the rule’s text field. To understand the format of regular expressions, see the documentation on the Apache Web site at http://jakarta.apache.org/regexp/apidocs/org/apache/regexp/RE.html.
contains data – checks the application to see if any data has a size greater than zero. The rule’s text field is disabled for this option.
contains no data – is the opposite of “contains data.” Checks the application to see if any data has a size equal to zero. The rule’s text field is disabled for this option.
is found – used with XPath. Returns true if the XPath expression resolves to a XML node or attribute.
is not found – used with XPath. This operator is the opposite of “is found.” Returns true if the XPath expression does not resolve to a XML node or attribute.
Related Tasks
Send your feedback on this help topic to Sybase Tech Pubs: pubs@sybase.com