[jboss-user] [jBPM] - JBPM 5.1.0.FINAL and variable access

Ken Barnes do-not-reply at jboss.com
Mon Aug 15 10:03:13 EDT 2011


Ken Barnes [http://community.jboss.org/people/kenbarnesjr] created the discussion

"JBPM 5.1.0.FINAL and variable access"

To view the discussion, visit: http://community.jboss.org/message/621065#621065

--------------------------------------------------------------
We have an application in which after we have started the process with some variables, we start and claim a task and access the process instance variables and place them back on the call to complete and this works well.  But what we need is to gain access to the variables of the process before a task has been started and claimed.  When attempting to get process variables when a task has not been started and claimed it appears that the knowledge runtime does not have access to the process instance throwing a null pointer exception on the ProcessInsanceImpl class on the setProcessId function.   All we are attempting to do is view the process instance variable without starting or claiming a task using the HumanTask API. Any Ideas why we are unable to view the variables?
Thanks
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/621065#621065]

Start a new discussion in jBPM at Community
[http://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/20110815/1a5ac24d/attachment.html 


More information about the jboss-user mailing list