[jboss-user] [jBPM] - Re: Getting process instance variables
jnorris
do-not-reply at jboss.com
Fri Aug 17 08:57:56 EDT 2012
jnorris [https://community.jboss.org/people/jnorris] created the discussion
"Re: Getting process instance variables"
To view the discussion, visit: https://community.jboss.org/message/754252#754252
--------------------------------------------------------------
Hi Maciej,
I tried casting to org.jbpm.process.instance.ProcessInstance as suggested and used the code suggested in the other post. However this line causes a null pointer exception:
|
|
|
| VariableScopeInstance variableScope = (VariableScopeInstance) processInstance.getContextInstance(VariableScope.VARIABLE_SCOPE); |
Casting to RuleFlowProcessInstance works.
Regards,
Jim
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/754252#754252]
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/20120817/8322a2f8/attachment.html
More information about the jboss-user
mailing list