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.
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 >= 20</customRule> </condition> |
Discuss this page in DocCommentXchange. Send feedback about this page using email. |
Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1 |