JBoss Community

anyone guide me how to access processinstance in split constraints?

created by rickylkl in jBPM - View the full discussion

Dear all,

 

rule "Example validation rule"
    ruleflow-group "validate"

    when
        processInstance : WorkflowProcessInstance()
    then
        processInstance.setVariable("isValid", new Boolean(false));
end

 

that's wt i know to access processInstance in rule flow , drl file .

But how do i get the isValid variable in SPLIT GATEWAY CONSTRAINTS ??

 

 

THanks & Regards

Reply to this message by going to Community

Start a new discussion in jBPM at Community