[jboss-user] [JBoss jBPM] - How to get Node name for a TaskInstance?
lachelt
do-not-reply at jboss.com
Wed May 16 15:16:59 EDT 2007
I have a TaskInstance, which I got by invoking
taskInstance = JbpmContext.getTaskInstance( instanceId )
Now I'd like to get the name of the node that this taskInstance is from.
So I figured this would do the trick:
taskInstance.getTask().getTaskNode().getName()
But I get a NullPointerException because the Task doesn't seem to be properly initialized... it has a null taskNode member (and many other null members).
Is this a defect? Or more likely I'm just not understanding something fundamental about jBPM (I am a noob).
Would someone please enlighten me?
Thanks,
-Jon
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4046264#4046264
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4046264
More information about the jboss-user
mailing list