Hi guys,
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".
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
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users