[jboss-user] [JBoss jBPM] - Re: Problem with getting process instance's creator
kot.filemon
do-not-reply at jboss.com
Wed Feb 28 04:54:43 EST 2007
"kukeltje" wrote : I do not see anything in the logging about the originator swimlane.. heck not even anything about the task in this start state (you could notice this to)
|
| Two things:
| - there is a whitespace between swimlane and = (swimlane ="originator" instead of swimlane="originator") don't know if it makes a difference, but I noticed it
| - tasks in the start state are not automatically created (afaik). Use taskMgmtInstance = processInstance.getTaskMgmtInstance();
| | taskMgmtInstance.createStartTaskInstance();
| |
1. seems like the whitespace doesn't matter.
2. following your suggestion I added
| TaskInstance task = taskMgmtInstance.createStartTaskInstance();
| task.start();
| task.end();
| context.save(task);
|
and now it works. Thank you ;)
"kukeltje" wrote :
| If you extend your tests (other words for ' making them better' ;-)) you would have had better insight in the creation of the tasks...
could you provide any tips?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023548#4023548
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023548
More information about the jboss-user
mailing list