I am able to define a rule that has multiply or divide operators in some cases using "Return Value Restriction", where I can relate a field and a parenthesized expression using a relational operator; i.e.: <field> <op> ( <expr> ). I, however, am looking for the usage of functions in Guvnor in some cases, e.g., how to define a function within Guvnor and use it in a technical rule?. There seems to be very little documentation about the function usage within Guvnor.
satjo wrote: > > I need to use divide/multiply functions in my rules. > > Do we have generic functions such as divide or multiply (/ *) for use in > technical rules? > > Are these available out of box or do we need to write 'accumulate > functions"? > > If we need to write a functions for these, can we use 'function' option > provided in Guvnor? > > Any comments are appreciated. > > satjo > > > -- View this message in context: http://www.nabble.com/multiply-or-divide-functions-in-rules-Guvnor-tp25915109p25941617.html Sent from the drools - user mailing list archive at Nabble.com. _______________________________________________ rules-users mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-users
