[rules-users] Decision tables - multiple params to function over multiple columns

2011-03-29 Thread Travis_Smith
Hi, Currently I've got a consequence on a decision table that works like this: callHelperFunction( $1, $2, $handleFromConditions); where the first two parameters are strings, $1 being a code, $2 a description. which means that you get the table holding things like: DC

Re: [rules-users] CSV Issues - Decision table

2011-03-29 Thread Wolfgang Laun
Did you try this with the ... described by Michal? And you may not be able to use vertically joined cells. -W On 28 March 2011 10:00, jkb balachandar.jayakan...@ingdirect.co.uk wrote: We recently started using Drools 5.1 and exploring the possibility of .csv for decision tables. The CSV

Re: [rules-users] Rule storage

2011-03-29 Thread FrankVhh
Hi all, Thanks for your inputs Manstis and Mister X. Out of pure gratitude, I will make sure your name remains unspoken :-). This is my second attempt to write a reply, some weird thing happened during the previous one. I hope it does not suddenly show up on the message board. There surely is

Re: [rules-users] Decision tables - multiple params to function over multiple columns

2011-03-29 Thread Wolfgang Laun
I think this is more a Java question of how to call a method in instalments. One option is to set a temporary from the 1st column, and call from the 2nd: The first column might be String code = $param; and the next column would callHelperFunction( code, $param, $handleFromConditions); and the

Re: [rules-users] The update function inside a rule

2011-03-29 Thread FrankVhh
Hi Marc, Your rules do not immediately reveal anything remarkable to me, so I do not have an explanation or solution just yet. Here is what I would do to narrow down on the problem: Add an output in your rules that print the internal end date and the current date in each RHS of the rules. It is

Re: [rules-users] The update function inside a rule

2011-03-29 Thread FrankVhh
I'm sorry, that didn't make any sense. An un-updated internal enddate would indeed cause the LHS condition to remain true, and the timer will cause it to fire each second. My bad... FrankVhh wrote: Hi Marc, Your rules do not immediately reveal anything remarkable to me, so I do not have

Re: [rules-users] The update function inside a rule

2011-03-29 Thread Wolfgang Laun
I think there is an open JIRA for a very similar issue: JBRULES-2825 rule with timer and CE not keeps firing after turning false I have added these two rules as a comment. However, the timer isn't necessary in this here case. Since the SimpleClock fact is updated periodically, the engine will

[rules-users] Pass user Credentials through URL

2011-03-29 Thread Satyendra Sharma
Hi Is there any way to pass the user credential through URL to BRMS-Guvnor for authentication and not to use login window. If it is possible what will be URL ? -- View this message in context:

[rules-users] Fwd: [rules-dev] Query on drools

2011-03-29 Thread Esteban Aliverti
Moved to correct mailing list Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com On Tue, Mar 29, 2011 at 10:12 AM, praveen p p.prave...@gmail.com wrote: Hi, We need to make a decision on whether to use

Re: [rules-users] Using Drools to model and solve a production scheduling problem with changeovers

2011-03-29 Thread David Faulkner
Andrei, You should take a look at Drools Planner, which is designed to provide a framework for solving NP-hard problems using local search. I don't know how user-friendly you would consider it to be and there's no GUI, but it sounds like it may be a good fit for you. David Faulkner

Re: [rules-users] The update function inside a rule

2011-03-29 Thread marc
Thanks, The JBRULES-2825 seems to be a similar issue indeed ! The timer is necessary: When change the value of SimpleClock and I only do an update (obj), without calling fireAllRules(). That way the rule doesn't fire... Is-it an other problem ?? If I do a update + fireAllRulles() when I change

Re: [rules-users] The update function inside a rule

2011-03-29 Thread Wolfgang Laun
On 29 March 2011 19:04, marc marc.stra...@gmail.com wrote: Thanks, The JBRULES-2825 seems to be a similar issue indeed ! The timer is necessary: When change the value of SimpleClock and I only do an update (obj), without calling fireAllRules(). That way the rule doesn't fire... Is-it an

Re: [rules-users] Decision tables - multiple params to function over multiple columns

2011-03-29 Thread Travis_Smith
Thank you for the reply Wolfgang, For some reason I had a mental blank when I asked that question - was thinking Can't create variables like that. Thanks! -Trav Travis Smith Analyst Programmer Development Centre BNZ DDI: +644 4746356 (Or Ext 76356) Wolfgang Laun wolfgang.l...@gmail.com

Re: [rules-users] Drools Introduction Documentation --

2011-03-29 Thread Imaad Ghouri
Hi, Sorry I feel silly but want to know 1). How we can create our own template files (.ftl) for our usertask (humantask) node in jbpm process. I need to create two simple .ftl or .html (whatever) i). One is for the manager who log in with his username and password and then creates a Task

Re: [rules-users] Problem with CommandFactory.newStartProcess in 5.2 M1

2011-03-29 Thread Seaver, Daniel (GE Healthcare)
Ok, I finally got setup to use git and look at the latest drools code. In that repository, the code for CommandFactory.newStartProcess looks like this: public static Command newStartProcess(String processId, MapString, Object parameters) {

[rules-users] FAIL - getProcessInstances() from persisted StatefulKnowledgeSession

2011-03-29 Thread Anderson Neves
Hi everybody. I configured the session persistence and persisted an instantiated process. When I get the session from the database and use the method getProcessInstances(), it returns an empty collection. But, when I call getProcessInstance(1), and 1 is the InstanceId of the ProcessInstanceInfo