<p dir="ltr">What version of Guvnor are you using? </p>
<p dir="ltr">Sent on the move</p>
<div class="gmail_quote">On 26 Sep 2013 13:13, "ashish6276" <<a href="mailto:ashishkumarec010@gmail.com">ashishkumarec010@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi All,<br>
<br>
I have a request with /market/ which is a list of /market info/ something<br>
like this :<br>
<br>
*<complexType name="RuleRequest"><br>
<sequence><br>
<element name="Market" type="tns:MarketInfo" maxOccurs="unbounded" /><br>
</sequence><br>
</complexType><br>
<br>
<complexType name="MarketInfo"><br>
<sequence><br>
<element name="region" type="String"><br>
</element><br>
<element name="country" type="String"><br>
</element><br>
</sequence><br>
</complexType>*<br>
<br>
While writing DRL like this I am able to fire the rules:<br>
<br>
*when<br>
hotelReq : HotelRequest ($market : market != null )<br>
MarketInfo( region == "NA") from $market<br>
then<br>
System.out.println("Done");<br>
end*<br>
<br>
But am not able to achieve the same thing in web guided editor in<br>
Guvnor(Decision table).<br>
I came close enough to write the below in web based editor but could not<br>
succeed in firing the rules.<br>
<br>
*when<br>
hotelRequest : HotelRequest( $market : market != null )<br>
marketInfo : MarketInfo( region == "NA" ) from entry-point<br>
"$market"<br>
then*<br>
<br>
Any help will be appreciated.<br>
<br>
Thanks in advance.<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/Not-able-to-fetch-values-from-a-list-in-Guvnor-web-based-decision-table-tp4026145.html" target="_blank">http://drools.46999.n3.nabble.com/Not-able-to-fetch-values-from-a-list-in-Guvnor-web-based-decision-table-tp4026145.html</a><br>
Sent from the Drools: User forum mailing list archive at Nabble.com.<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</blockquote></div>