Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 10.0.1 » QAnywhere » Server management requests » Introduction to server management requests

Writing server management requests Next Page

Custom message requests


To construct more complex condition statements, use the <customRule> tag as a subtag to the <condition> tag (and other tags). This tag takes as its data a server rule similar to those used for server transmission rules. You can construct these queries in the same manner as the condition part of a transmission rule.

See Condition syntax.

Example

The following condition selects messages following the search criteria: priority is set to 4; the originator name is like'%sender%'; and the status is greater than or equal to 20.

<condition>
 <priority>4</priority>
 <customRule>ias_Originator LIKE '%sender%' AND ias_Status &gt;= 20</customRule>
</condition>