Re: [rules-users] Script Task BUG????

2010-10-11 Thread Yaniv Itzhaki
yes, I am running a loop over my rules and flow files and call the method kbuilder.add(ResourceFactory.newFileResource(file), type); my process ids are: mainFlow, phase1 and phase2 2010/10/10 Mauricio Salatino > are you doing > kbuilder.add(ResourceFactory.newFileResource(file), typ > > for ea

Re: [rules-users] Script Task BUG????

2010-10-10 Thread Mauricio Salatino
are you doing kbuilder.add(ResourceFactory.newFileResource(file), typ for each process file? you mention that you have the IDs -> (5, 31 and 33). Those are generated when you create a new process instance. but when you start your process flow with: ksession.startProcess(). Can you share with us t

Re: [rules-users] Script Task BUG????

2010-10-10 Thread esteban.alive...@gmail.com
It would be possible to have a minimum maven test project so we can take a look? Best, Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com 2010/10/10 Yaniv Itzhaki > What do you mean by "add all your process

Re: [rules-users] Script Task BUG????

2010-10-10 Thread Yaniv Itzhaki
What do you mean by "add all your process definition into the kbase"? I am doing the following: kbuilder.add(ResourceFactory.newFileResource(file), type); kb = KnowledgeBaseFactory.newKnowledgeBase(); kb.addKnowledgePackages(kbuilder.getKnowledgePackages()); 2010/10/10 Mauricio Salatino > Hi m

Re: [rules-users] Script Task BUG????

2010-10-10 Thread Yaniv Itzhaki
Hi, I am using 5.1.1 drools version on eclipse ide, I tested it also on 5.0.1 and it has the same behavior. Each action has its own unique id generated by the drools flow ide (5, 31 and 33). Thanks Yaniv 2010/10/10 esteban.alive...@gmail.com > It sounds like a bug to me. Which version of dr

Re: [rules-users] Script Task BUG????

2010-10-10 Thread Mauricio Salatino
Hi man. are you sure that you add all your process definition into the kbase? Sounds like all your processes have the same process ID. and you are executing the last one only. Greetings. 2010/10/10 esteban.alive...@gmail.com > It sounds like a bug to me. Which version of drools are you using? An

Re: [rules-users] Script Task BUG????

2010-10-10 Thread esteban.alive...@gmail.com
It sounds like a bug to me. Which version of drools are you using? And which are the ids of the action nodes? Best, Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com 2010/10/10 Yaniv Itzhaki > Hi, > > I am

[rules-users] Script Task BUG????

2010-10-10 Thread Yaniv Itzhaki
Hi, I am experiencing a strange bug (or feature???). I added a script task (name="A") in my main process which just running System.out.println("Script A"); I also added another script task (name="B") in my sub-process which is running System.out.println("Script B"); But, when I am running the proc