Hi, I have a scenario, where for decision table I will inject one object which holds all facts. Using those facts the decision table has rules. How to retrieve the child fact from parent in decision table.
sample for this is as follows Java Code snippet: DataObject dataObj = new DataObject(); Fact1 fact1 = new Fact1(); Fact2 fact2 = new Fact2(); dataObj.setFact1(fact1); dataObj.setFact2(fact2); statelessKnowledgeSession.execute(dataObj); In decision table: ------------------------------------------- CONDITION -------------------------------------------- fact1 : DataObject().getFact1(); -------------------------------------------- fact1.getData1().equalsIgnoreCase("$param") -------------------------------------------- "Hello" -------------------------------------------- Here I am getting error. Please suggest me how to access the child fact from parent fact in decision table. -- View this message in context: http://drools.46999.n3.nabble.com/Using-object-getter-in-Decision-table-tp3392337p3392337.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