Re: [rules-users] Using hashmap in guided decision table in Guvnor

2012-01-04 Thread Michael Anstis
This is not possible at present.

5.4.0 should bring the ability to use DRL fragments (either guided or
free-format) as column definitions. A free-format DRL column would provide
what you need.

In the meantime, you might be able to consider using Templates in 5.3 that
already provide the ability in 5.3, however I do not know your use-case in
detail.

On 27 December 2011 07:23, ankitmasrani ankit.masr...@gmail.com wrote:

 Sorry, forgot to mention: I am using drools guvnor 5.3

 --
 View this message in context:
 http://drools.46999.n3.nabble.com/Using-hashmap-in-guided-decision-table-in-Guvnor-tp3613947p3613952.html
 Sent from the Drools: User forum 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


[rules-users] Using hashmap in guided decision table in Guvnor

2011-12-26 Thread ankitmasrani
Hi,
I am new to Drools and Guvnor and I have the following query:

1. I have uploaded a pojo model jar which has a class A containing a
hashmapString, String attr1.
2. Then, I created a new rule- Guided decision table.
3. And i want to define a rule lets me select a key of the hashmap defined
using the drop-down pop-up  and check the corresponding value in the second
column. Then perform an action.
Example: check Key= Name and value=Abc. then set an output string- Name
ok in action.

Please provide any suggestions.

Thank You

Ankit 

--
View this message in context: 
http://drools.46999.n3.nabble.com/Using-hashmap-in-guided-decision-table-in-Guvnor-tp3613947p3613947.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] Using hashmap in guided decision table in Guvnor

2011-12-26 Thread ankitmasrani
Sorry, forgot to mention: I am using drools guvnor 5.3

--
View this message in context: 
http://drools.46999.n3.nabble.com/Using-hashmap-in-guided-decision-table-in-Guvnor-tp3613947p3613952.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users