Re: [rules-users] Adding an optional condition without using eval()

2010-03-04 Thread Enda J Diggins
Hi Daniel, Put the reference in a comment and be careful where you put your commas! $current:Claim(historic= false, ...) $historic:Claim(historic==true, ... , $current.doc == $history.doc // @{CHECK_DOCTOR} ) If you're trying to do what I think you're

[rules-users] Adding an optional condition without using eval()

2010-03-02 Thread djb
Hi, My rule template project is finally working, more-or-less. I've got 5 lines of conditions, the last 2 of which are evals. One of them compares dates, and has to be an eval(). The other though, I think I should be able to convert to non-eval DRL, but I am not sure how, because it is an opti