Sample filter 7 (a complex filter, named "Exercise Filter")

 

image\complexfilter_inhelp.gif

Task: You can combine Module filters, Case filters, String filters and Reference filters with AND, OR and NOT to get new filters of any complexity.

 

Hints for advanced uses:

·      negation: NOT only negates the node it is applied to, not the expression represented by the node together with its subnodes. If you want to have the later then read futher.

·      parentheses: To group a complex expression, store it as a named filter and reference this filter in other filters.

 

Expression represented by "Exercise Filter" (some of the following parentheses are logically unnecessary but added for better clearness):

 

(Module= GUI

AND ( Case=UPDATE

OR Case=INSERT

OR Case=DELETE

)

)

OR (Case=INSERT

AND ( Module=CONTROL

OR Module=GUI

)

)

OR (NOT (contains("MyDatabase"))

AND (Module=DBS OR Module=GUI)

)

 

Actions: To reproduce this filter is left as an exercise to you.