What version of Guvnor are you using?

Sent on the move

On 26 Sep 2013 13:13, "ashish6276" <ashishkumarec010@gmail.com> wrote:
Hi All,

I have a request with /market/ which is a list of /market info/ something
like this :

*<complexType name="RuleRequest">
                <sequence>
                        <element name="Market" type="tns:MarketInfo" maxOccurs="unbounded" />
                </sequence>
        </complexType>

<complexType name="MarketInfo">
                <sequence>
                        <element name="region" type="String">
                        </element>
                        <element name="country" type="String">
                        </element>
                </sequence>
        </complexType>*

While writing DRL  like this I am able to fire the rules:

*when
        hotelReq : HotelRequest ($market : market != null )
        MarketInfo( region == "NA") from $market
then
        System.out.println("Done");
end*

But am not able to achieve the same thing in web guided editor in
Guvnor(Decision table).
I came close enough to write the below in web based editor but could not
succeed in firing the rules.

*when
                hotelRequest : HotelRequest( $market : market != null )
                marketInfo : MarketInfo( region == "NA" ) from entry-point
"$market"
then*

Any help will be appreciated.

Thanks in advance.



--
View this message in context: http://drools.46999.n3.nabble.com/Not-able-to-fetch-values-from-a-list-in-Guvnor-web-based-decision-table-tp4026145.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