Yeah and its simply applying rules on those variable if the conditions meet the rule criteria.
however you cannot write a rule for primitive variables!!. So de default behavior doesn't helpt me much.
for instance how can you say in Rule that
when variable x is grather than 100 then ….
I found the solution anyway i extended BusinessRuleBehaviour and put the execution Context in the knowledgebase before firing rules and now i can write a rule such as
import org.activiti.engine.impl.pvm.delegate.ActivityExecution
rule "TestExecution"
dialect "java"
when
execution : ActivityExecution(getVariable("v_v") == "tech")
then
execution.setVariable("v_v2",200);
System.out.println("After Then XXX");
end