[jboss-user] [JBoss jBPM] - Re: How to get Node name for a TaskInstance?

lachelt do-not-reply at jboss.com
Thu May 17 17:48:47 EDT 2007


OK.  I've confirmed that the TaskInstance is getting persisted.  In the DB I can see the Task Instance and it has the proper key in the TASK_ column.  The JBPM_TASK table has an entry with a matching ID_.

So I do this in my code:

  | TaskInstance taskInstance = jbpmContext.loadTaskInstance(instanceId);
  | Task task = taskInstance.getTask();
  | TaskNode node = task.getTaskNode();
  | 

The Task object gets loaded properly, but the TaskNode always comes back null.

Any ideas?


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4046653#4046653

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4046653



More information about the jboss-user mailing list