Alternative filters
I was just experimenting a bit, and I am not certain I follow how to interpret the Alternatives tab in the Sorting Office. If I set a filter string which must be found in matching messages, and several other strings either one of which also should be in matched messages, how is it that you may set that up? For some reason how I was trying this, all messages are filtered by the rule and moved. -- Best regards, Adam Current version is 2.11.02 | 'Using TBUDL' information: http://www.silverstones.com/thebat/TBUDLInfo.html
Re: Alternative filters
Adam wrote: I was just experimenting a bit, and I am not certain I follow how to interpret the Alternatives tab in the Sorting Office. This allows you to set OR strings to filter on. So the filter will execute if there's a match with the first defined string *OR* any strings defined in the Alternatives tab. If I set a filter string which must be found in matching messages, and several other strings either one of which also should be in matched messages, how is it that you may set that up? For some reason how I was trying this, all messages are filtered by the rule and moved. Ok. You need to do the following: Under the Rules Tab, define the string which must always match. Click the Add button and define one of the other strings that should also match. So that's one condition you've defined, i.e., that a match occurs if those two strings are present. Go to the Alternatives tab. Click the Add button and again define the string that must always match. Now hit Alt-insert. (Do not hit the Add button again for this) This will create an AND condition string field for the Alternative condition. In that field, add another of the other strings that should also match. Now hit the Add button to create a new Alternative condition and repeat the steps of the above paragraph. Repeat this process until all conditions are included. So in effect you're saying, Filter if: String1 AND String 2 are present OR if String1 and String3 are present OR if String1 and String4 are present OR if String1 and String5 are present etc. Hope that helps. -- -=[ Allie ]=- (List Moderator and fellow end-user) PGPKeys: http://key.ac-martin.com Running The Bat! v2.12 Beta/1 on WinXP Pro (SP1) pgprq3aKBm6YA.pgp Description: PGP signature Current version is 2.11.02 | 'Using TBUDL' information: http://www.silverstones.com/thebat/TBUDLInfo.html
Re: Alternative filters
Tuesday, June 29, 2004, 11:34:55 AM, Allie Martin wrote: If I set a filter string which must be found in matching messages, and several other strings either one of which also should be in matched messages, how is it that you may set that up? For some reason how I was trying this, all messages are filtered by the rule and moved. AM Ok. You need to do the following: AM Under the Rules Tab, define the string which must always match. AM Click the Add button and define one of the other strings that should AM also match. This works very well. But, say I don't click the Add button here to add the second string. How does it think about the filter? It seems to let most everything through. The first required string is there in most cases. Like, if I call the first string _required_ to put on the Rule tab and I number the alternate possible strings, string1, and string2, say, then how does it make a conclusion in any case, or when neither string1 nor string2 is present? You already answered this. But if you say OR between the two Tabs on the window, its feels odd. It is another logic than just: string1 OR string2. And I did get that when I added two strings in just the main Rule tab. Like: _required_ string1 | string2 But then the alternates don't create a list, one below the other. -- Best regards, Adam Current version is 2.11.02 | 'Using TBUDL' information: http://www.silverstones.com/thebat/TBUDLInfo.html
Re: Alternative filters
Adam wrote: AM Under the Rules Tab, define the string which must always match. AM Click the Add button and define one of the other strings that should AM also match. This works very well. But, say I don't click the Add button here to add the second string. How does it think about the filter? Then there will be no AND condition created. Clicking the Add button on the rules tab, creates an AND string match condition, i.e., Condition 1 AND Condition 2 must be met for a match. It seems to let most everything through. The first required string is there in most cases. If all you do is define the first string, then all messages with the first string will be caught, irrespective of any other strings being present or not. Like, if I call the first string _required_ to put on the Rule tab and I number the alternate possible strings, string1, and string2, say, then how does it make a conclusion in any case, or when neither string1 nor string2 is present? All you're doing when you do this is saying, a match occurs if: String 1 is present OR if String 2 is present You already answered this. But if you say OR between the two Tabs on the window, its feels odd. Why? ;) It is another logic than just: string1 OR string2. It's the same logic actually. And I did get that when I added two strings in just the main Rule tab. Like: _required_ string1 | string2 This is another way to create the same logic, i.e., defining both strings as a single condition using '|'. String1|String2 under the rules tab is the same as String1 under the rules tab and String two under the alternatives tab. The Alternatives Tab makes what you actually want to do possible. I don't see how it can be achieved without an alternatives tab. I guess the confusion rests with being able to achieve an OR match in different ways? But then the alternates don't create a list, one below the other. It can. The system is setup to make you able to match just about anything. However, in so doing, it also allows you to achieve some matching in different ways. -- -=[ Allie ]=- (List Moderator and fellow end-user) PGPKeys: http://key.ac-martin.com Running The Bat! v2.12 Beta/5 on WinXP Pro (SP1) pgpAYuYheOUoN.pgp Description: PGP signature Current version is 2.11.02 | 'Using TBUDL' information: http://www.silverstones.com/thebat/TBUDLInfo.html
Re: Alternative filters
Hello Allie, Tuesday, June 29, 2004, 1:26:20 PM, you wrote: You already answered this. But if you say OR between the two Tabs on the window, its feels odd. AM Why? ;) Some differing expectation. Hard to define expectations. And most of the tabs are options. Like extra parameters. But then the alternates don't create a list, one below the other. AM It can. By that, I mean string1 string2 string3 But as I understand now, that will forget about the _required_ string, if I just place it one place. TB would probably expect to find all of the strings at the same time. -- Best regards, Adam Current version is 2.11.02 | 'Using TBUDL' information: http://www.silverstones.com/thebat/TBUDLInfo.html