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.
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