Fabian Weisensee wrote:
Hello everyone
just one quick question:
I tried to invoke a rule from inside of jBPM. This works now, but I
have a major problem. The rule is quite simple and should only check
if an integer from the jBPM process is greater than a limit. I insert
this integer into the workingmemory, but as I understand it, drools
only works with objects.
I tried "Integer(intValue >= limit)" on the LHS but that only let my
process hang at the drools-decision.
This should work, why don't you make a
self contained example outside of
jBPM to make sure your logic is working.
Is this possible at all? Or do I have to wrap this integer into an
object?
-- Fabian
PS: the whole rule looks like this:
rule "Rechnung pruefen"
when
r1 :Integer(intValue >= 500)
ci : ContextInstance (id >= 0)
then
ci.setVariable("mussPruefen", true);
System.out.println("Rechnung muss geprueft werden");
end
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users