Re: [rules-users] Specify enumeration for DSL variables?

2012-08-18 Thread Michael Anstis
Thanks Esteban, I'd forgotten about your work on this :( On 17 August 2012 15:33, Esteban Aliverti esteban.alive...@gmail.comwrote: http://docs.jboss.org/drools/release/5.4.0.Final/drools-guvnor-docs/html_single/index.html#d0e1802 Best Regards,

Re: [rules-users] Specify enumeration for DSL variables?

2012-08-17 Thread Michael Anstis
Eh? Can you please explain your requirement a bit more. On 17 August 2012 03:09, jasonxzhong jason.zh...@ellucian.com wrote: Is there a way to specify enumeration values or functions for variables in DSL definition? Thanks, Jason -- View this message in context:

Re: [rules-users] Specify enumeration for DSL variables?

2012-08-17 Thread jasonxzhong
Sure I'll explain. Assuming I have the following defined in a DSL: [consequence][]Set result {name} to {value} = data.results.put({name}, {value}); In the guided BRL rule editor, when I choose to use this DSL to add an action, the following is displayed Set rule flag [name] to [value] In

Re: [rules-users] Specify enumeration for DSL variables?

2012-08-17 Thread Esteban Aliverti
http://docs.jboss.org/drools/release/5.4.0.Final/drools-guvnor-docs/html_single/index.html#d0e1802 Best Regards, Esteban Aliverti - Blog @ http://ilesteban.wordpress.com On Fri, Aug 17, 2012 at 4:06 PM, jasonxzhong jason.zh...@ellucian.comwrote: Sure

Re: [rules-users] Specify enumeration for DSL variables?

2012-08-17 Thread jasonxzhong
Thanks! This and the http://docs.jboss.org/drools/release/5.4.0.Final/drools-guvnor-docs/html_single/index.html#d0e1887 Advanced enumeration concepts in Guvnor would solve the dynamic enumeration requirement I posted earlier. -- View this message in context:

[rules-users] Specify enumeration for DSL variables?

2012-08-16 Thread jasonxzhong
Is there a way to specify enumeration values or functions for variables in DSL definition? Thanks, Jason -- View this message in context: http://drools.46999.n3.nabble.com/Specify-enumeration-for-DSL-variables-tp4019228.html Sent from the Drools: User forum mailing list archive at