Hi guys, As u can notice in the http://labs.jboss.com/file-access/default/members/drools/images//templatebaseddsl2.png DSL pop-up Menu, we have got the sentence "Escalate the ticket" splitted into 3 different sub-sentences:
1. Escalate 2. Escalate the 3. Escalate the ticket When I open "*org.drools.examples.TroubleTicketWithDSL.dslr*" from the "* drools-examples/drools-examples-drl/src/main/rules/org/drools/examples*" directory and i push "CTRL+SPACE" in Eclipse Europa 3.3, then the pop-up menu I get back shows just one of the sentences above. It just shows: "Escalate the ticket". I expected to see all the above sentences, as I saw in the JBoss Drools Features page ( http://labs.jboss.com/file-access/default/members/drools/images//templatebaseddsl2.png ). So.... Why Do I get a different menu with just one sentence? Is the .dsl file referred from the .drls in the "feature page" different from the following one? *[condition][]There is a customer ticket with status of "{status}"=customer : Customer( ) ticket : Ticket( customer == customer, status == "{status}" ) [condition][]There is a "{subscription}" customer with a ticket status of "{status}"=customer : Customer(subscription == "{subscription}") ticket : Ticket( customer == customer, status == "{status}") [consequence][]Log "{message}"=System.out.println("{message} "); [consequence][]Escalate the ticket=ticket.setStatus("Escalate"); update(ticket); [consequence][]Send escalation email=sendEscalationEmail( customer, ticket );* *One more question.* I have got no idea on the "Object" column which accours in the DSL Editor. We have got "Language Expression", "", "*Object*" and "Scope". What does "*Object*" stand for? Thank You for any help you can give me. Massi
_______________________________________________ rules-users mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-users
