The documentation on enumerations is here:
http://docs.jboss.org/drools/release/5.5.0.Final/drools-guvnor-docs/html_...
If you look at your package assets, one of the sections is "Enumerations".
Some may be of the form:
'TradeRequest.account' : ['1=ACME Corporation', '2=Cyberdyne
Systems']
Others may be:
'TradeRequest.account' : (new com.mybank.AccountFinder().accounts())
If your guided editor rules are only based on picking facts out of your model and getting
drop-downs for constraints on fields, then the contents of the drop-downs comes from the
enumerations.
On the other hand, your guided editor rules may be referring to phrases from a DSL. The
DSL could be something like:
[condition][]Validate trade for account "{account:ENUM:TradeRequest.account}" =
$request:TradeRequest(account=="{account}")
Where I have had issues previously with a rule refusing to open is when that rule has a
constraint driven by an enumeration as in the first case, or the rule uses a DSL
referencing an enumeration like the second case.
I think it may happen if the values returned by the enumeration are not valid for the fact
property. It has definitely happened for me when a data-driven enumeration calling into
some Java code to get the values is failing to return any values.
Hopefully that gives you some ideas on where to look.
Steve
On 25 Jan 2013, at 09:00, neha.gupta19 <neha.gupta19(a)wipro.com> wrote:
when i i am only able to declare a rule using business guided editor
after
declaration i am not able to open it and edit it
even when i am declaring a rule using technical text editor in this case i
am able to open it and edit it
no user interface for making rules using guided editor is appear
--
View this message in context:
http://drools.46999.n3.nabble.com/rules-users-business-guided-rule-editor...
Sent from the Drools: User forum mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users