Yes you can.
Use an equals symbol to separate value/code and text. For example M=Male.
The user guide should contain details.
Sent on the move
On 12 Jan 2014 03:55, "Ray Hooker" <ray.hooker(a)me.com> wrote:
Michael, It looks promising. The question is whether I can have
something like a select that has a text and a value that returned. For
example the value RxNorm=617314 is actually “Atorvastain or Lipitor”. If
this was a typically select box, we could populate both the text (e.g.,
"Atorvastain or Lipitor”) and the value to be returned (e.g., 617314). The
resulting rule would only have the code.
Ray
On Jan 11, 2014, at 3:54 PM, Michael Anstis <michael.anstis(a)gmail.com>
wrote:
1) No, you can't have ab enumeration defined and expect to have a text box
to enter a value.
2) You can define an enumeration that look up their values from elsewhere.
Please see the Advanced Enum Concepts section in the user guide.
Sent on the move
On 11 Jan 2014 15:22, "Ray Hooker" <ray.hooker(a)me.com> wrote:
> This ties into a question, I had as well. I am trying to setup an
> environment to author rules that have codes associates within them. This
> is in the medical field where it would be nice to do a look-up. If it
> possible to extend the interface, possibly in the guided rule development
> to allow the user to select from a popup list?? It would be nice to use
> Guvnor rather than having to write a custom set of screens.
>
>
> Ray
> On Jan 11, 2014, at 9:04 AM, abhinay_agarwal <abhinay_agarwal(a)infosys.com>
> wrote:
>
> > Heya,
> >
> > Is it possible to use both drop downs and text field for the same field
> in
> > guvnor. For what I see now, is once I have made an enumeration for a
> field
> > of a fact, I am bound to choose values from the drop down, which makes
> it
> > difficult to use functionality of matches and using *. in guvnor.
> >
> > Regards,
> > Abhinay
> >
> >
> >
> > --
> > View this message in context:
>
http://drools.46999.n3.nabble.com/Using-both-Drop-Down-Enumeration-and-Te...
> > 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
>
>
> _______________________________________________
> rules-users mailing list
> rules-users(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/rules-users
>
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users