This has been fixed in 5.5.0.Final. On 14 November 2012 12:29, msic <[email protected]> wrote:
> Hello, > > I've encountered the same issue as described by Vann_the_Red. My GUVNOR > version is 5.4.0-SNAPSHOT. > The problem is that I can't assign defined variable as a value in formula > field in "THEN" section of my rule. It is due to field mask that allows me > to enter only digits (type of the field is long). When I click on > "formula", > the textarea containing "=" appears, but I cannot type in variable name, > nor > any character other than digits. Furthermore, if I delete "=" I cannot > re-enter it. > I'm providing the screenshot of the rule: > <http://drools.46999.n3.nabble.com/file/n4020828/guvnor_problem.png> > As I said, the type of clientId field is long. I would like to enter there > "=cli.id". > I'm kindly asking for help. > > > > manstis wrote > > Hello, > > > > Please advise which version of Guvnor you are using. > > > > Please also provide a few explicit examples where behavior is not as > you'd > > expect (screen shots of the rule and a few words would be cool). > > > > Thanks, > > > > Mike > > > > On 26 July 2012 20:42, Vann_the_Red < > > > abanks@ > > > > wrote: > > > >> Hello. I started with a search and didn't find an answer. I apologize > >> if > >> my > >> search-fu was lacking today. > >> > >> I'm a non-developer tasked with rules creation and testing using guvnor. > >> I > >> have found some scenarios where I can bind a variable to either the > whole > >> input model or a fact in the input model and then later access those in > >> the > >> output model by selecting "Bound Variable" from the popup box in the > Then > >> statement. In other scenarios, "Bound Variable" is not an option (only > >> Literal or Formula). What must I do to be able to access the bound > >> variables from the When statement(s) in the Then statement(s)? > >> > >> TIA, > >> > >> Vann > >> > >> This is a repost because I wasn't on the mailing list yet and I gather > >> most > >> didn't see it. Apologies again. > >> > >> > >> > >> -- > >> View this message in context: > >> > http://drools.46999.n3.nabble.com/Guvnor-Accessing-Bound-Variable-in-Then-Statement-tp4018932.html > >> Sent from the Drools: User forum mailing list archive at Nabble.com. > >> _______________________________________________ > >> rules-users mailing list > >> > > > [email protected] > > >> https://lists.jboss.org/mailman/listinfo/rules-users > >> > > > > _______________________________________________ > > rules-users mailing list > > > [email protected] > > > https://lists.jboss.org/mailman/listinfo/rules-users > > > > > > -- > View this message in context: > http://drools.46999.n3.nabble.com/Guvnor-Accessing-Bound-Variable-in-Then-Statement-tp4018932p4020828.html > Sent from the Drools: User forum mailing list archive at Nabble.com. > _______________________________________________ > rules-users mailing list > [email protected] > https://lists.jboss.org/mailman/listinfo/rules-users >
_______________________________________________ rules-users mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-users
