Re: Re[rules-users] sult Lists from Decision Tables
This is what I was looking for. Thanks, I just wasn't making the connection between Variables in Decision Tables and Globals in the generated DRL. Bryan wasabifan wrote: > > Possibly. Is that set by the Variables keyword in Decision Tables? Then > in the Java code you just set the global variable by > session.setGlobal(string, object)? > -- View this message in context: http://www.nabble.com/Result-Lists-from-Decision-Tables-tp23749077p23762282.html Sent from the drools - user mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: Re[rules-users] sult Lists from Decision Tables
Possibly. Is that set by the Variables keyword in Decision Tables? Then in the Java code you just set the global variable by session.setGlobal(string, object)? Michal Bali-2 wrote: > > Hi Bryan, > > Can you use globals for this ? > > Regards, > Michal > -- View this message in context: http://www.nabble.com/Result-Lists-from-Decision-Tables-tp23749077p23752966.html Sent from the drools - user mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: Re[rules-users] sult Lists from Decision Tables
Hi Bryan, Can you use globals for this ? Regards, Michal On Wed, May 27, 2009 at 9:21 PM, wasabifan wrote: > > I have worked directly with DRLs previously, but my new company would like > to > store their rules in decision tables. > > Basically, in the past, we would insert a custom object to maintain a list > of results from the rules, which was pretty easy to do in a DRL. However, > in decision tables, I have not found a good way to create a named parameter > for that controlled list without making up a bogus condition (that really > doesn't matter). > > Is there an easy way to pass an object to really only be used in the > actions > columns? > > Thanks, > Bryan > -- > View this message in context: > http://www.nabble.com/Result-Lists-from-Decision-Tables-tp23749077p23749077.html > Sent from the drools - user mailing list archive at Nabble.com. > > ___ > rules-users mailing list > rules-users@lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re[rules-users] sult Lists from Decision Tables
I have worked directly with DRLs previously, but my new company would like to store their rules in decision tables. Basically, in the past, we would insert a custom object to maintain a list of results from the rules, which was pretty easy to do in a DRL. However, in decision tables, I have not found a good way to create a named parameter for that controlled list without making up a bogus condition (that really doesn't matter). Is there an easy way to pass an object to really only be used in the actions columns? Thanks, Bryan -- View this message in context: http://www.nabble.com/Result-Lists-from-Decision-Tables-tp23749077p23749077.html Sent from the drools - user mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users