JBoss Community

Re: anyone guide me how to access processinstance in split constraints?

created by Mauricio Salatino in jBPM - View the full discussion

you should do something like the following if you are writing a Java expression.

return kcontext.getKnowledgeRuntime().getProcessInstance(<id>).getVariable("isValid");

 

 

 

If you wanna write a rule expression it will be in the same way as you showed before:

 

WorkflowProcessInstance(variables["isValid"] == <true|false>)

 

Cheers

Reply to this message by going to Community

Start a new discussion in jBPM at Community