[rules-users] Not able to fetch values from a list in Guvnor web based decision table

ashish6276 ashishkumarec010 at gmail.com
Fri Sep 27 03:34:27 EDT 2013


Drools guvnor 5.2.1
On 27 Sep 2013 12:55, "manstis [via Drools]" <
ml-node+s46999n4026149h50 at 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-Guvnor-web-based-decision-table-tp4026145.html
>> 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-Guvnor-web-based-decision-table-tp4026145p4026149.html
>  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=unsubscribe_by_code&node=4026145&code=YXNoaXNoa3VtYXJlYzAxMEBnbWFpbC5jb218NDAyNjE0NXwtNzMwNzQxMTc4>
> .
> NAML<http://drools.46999.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
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-tp4026145p4026150.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20130927/e5beee5f/attachment.html 


More information about the rules-users mailing list