Mauricio Salatino [
https://community.jboss.org/people/salaboy21] created the discussion
"Re: anyone guide me how to access processinstance in split constraints?"
To view the discussion, visit:
https://community.jboss.org/message/772677#772677
--------------------------------------------------------------
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
[
https://community.jboss.org/message/772677#772677]
Start a new discussion in jBPM at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]