Re: [rules-users] Unable to fire Rules

2008-04-07 Thread Hanumesh Mekala
Hi Markus, Thanks a lot.. Now I am able to fire the rules dynamically by fetching rules from Database. I have modified the code as follows: While filling the VO's iteself, I am concatinating the .* to the field fileMask, and the drl code. And the .drl is as follows: rule Process

[rules-users] Unable to fire Rules

2008-04-04 Thread hanumesh.m
Hi, I am inserting message(fileName, fromQ,toQ,transType) to WorkingMemory. fileName as ABC-834-test-100.edi I am inserting 3 instances of TrasactionVO's to workingmemory as follows: TransactionVO transVO = new TransactionVO(ABC-834, ABC.834.EDI, ABC.834.XML, 834); TransactionVO

Re: [rules-users] Unable to fire Rules

2008-04-04 Thread Markus Helbig
Hi, your rules represent the following Java Code (the system.out are just to see the result of matches) public static void main(String[] args) { // You're rule System.out.println(ABC-834.matches(ABC-834-test-100.edi)); //false