[jbpm-dev] [Design of JBoss jBPM] - Re: description-tag

webernie do-not-reply at jboss.com
Tue Nov 11 13:14:00 EST 2008


With TaskMgmtSession I can obtain the Task-ID and the Task-Name but the Description is always NULL :-(

I tried these lines, but it doesn't work.

JbpmConfiguration jbpmConfiguration = JbpmConfiguration.getInstance();        
JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext();
TaskMgmtSession tms = new TaskMgmtSession(jbpmContext.getSession());
tms.getTaskInstance(task.getId()).getDescription();
tms.getTaskInstance(task.getId()).getTask().getDescription() );

Does anyone have other/more proposals how to obtain the content of the description-tag of a task??

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

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



More information about the jbpm-dev mailing list