Drools guvnor 5.2.1
On 27 Sep 2013 12:55, "manstis [via Drools]" <
ml-node+s46999n4026149h50(a)n3.nabble.com> wrote:
What version of Guvnor are you using?
Sent on the move
On 26 Sep 2013 13:13, "ashish6276" <[hidden
email]<http://user/SendEmail.jtp?type=node&node=4026149&i=0>>
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...
> Sent from the Drools: User forum mailing list archive at
Nabble.com.
> _______________________________________________
> rules-users mailing list
> [hidden email] <
http://user/SendEmail.jtp?type=node&node=4026149&i=1>
>
https://lists.jboss.org/mailman/listinfo/rules-users
>
_______________________________________________
rules-users mailing list
[hidden email] <
http://user/SendEmail.jtp?type=node&node=4026149&i=2>
https://lists.jboss.org/mailman/listinfo/rules-users
------------------------------
If you reply to this email, your message will be added to the discussion
below:
http://drools.46999.n3.nabble.com/Not-able-to-fetch-values-from-a-list-in...
To unsubscribe from Not able to fetch values from a list in Guvnor web
based decision table, click
here<http://drools.46999.n3.nabble.com/template/NamlServlet.jtp?macro=...
.
NAML<http://drools.46999.n3.nabble.com/template/NamlServlet.jtp?macro=...