I really, really think there should be a way to rem rules!!

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
Post Reply
Rem
Posts: 216
Joined: Wed Oct 03, 2007 8:58 am
Location: Sweden
Contact:

I really, really think there should be a way to rem rules!!

Post by Rem »

I´m going NUTS!!

Please :cry: , put it in the next bulid!

/Rem
christopherb
Posts: 304
Joined: Fri Jun 22, 2007 8:26 pm

Post by christopherb »

I second that!!! "Harumph"
tford
Posts: 4238
Joined: Sat Mar 10, 2007 6:44 pm

Post by tford »

No reason to go nuts. Using a condition of 1=0 works and furthermore, you can find all rules with 1=0 using the search function. In essence, you can easily determine all the rules that you have currently 1=0'd out.

Tom
jclark58
Posts: 192
Joined: Thu Mar 02, 2006 2:36 am
Location: Tasmania, Australia

Post by jclark58 »

I agree that a Comment condition for a rule would be great.
As I often comment out code whilst debugging I found a way around it by adding a boolean (True/False) attribute to the System BO called Debug.

IF Debug = False then ...

That way I can search for Rules that have the condition and instantly turn on commented out code without having to go into the dev tool.
tford
Posts: 4238
Joined: Sat Mar 10, 2007 6:44 pm

Post by tford »

jclark58 -- I LOVE that idea. Thanks for sharing it.

Tom
jclark58
Posts: 192
Joined: Thu Mar 02, 2006 2:36 am
Location: Tasmania, Australia

Post by jclark58 »

No problems Terry - not my original idea I must admit - this is also useful if you want to print out a lot of debugging information say to a log file. apart from the already copious logging info AwareIM already provides.

just remember the potentially repeated test could impact system performance so decide if they should be removed prior to delivery

John
jclark58
Posts: 192
Joined: Thu Mar 02, 2006 2:36 am
Location: Tasmania, Australia

Post by jclark58 »

oops Sorry about the "Terry" - Tom
Post Reply