[jboss-user] [jBPM] - Re: anyone guide me how to access processinstance in split constraints?
Mauricio Salatino
do-not-reply at jboss.com
Sun Oct 28 07:20:54 EDT 2012
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&containerType=14&container=2034]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20121028/862b370f/attachment.html
More information about the jboss-user
mailing list