[jboss-user] [jBPM Users] - Re: jbpm 4.1 - execution not waiting for Task Form inputs
tcr
do-not-reply at jboss.com
Mon Oct 5 16:04:48 EDT 2009
Hi makarandk502,
if I remove the
taskService.completeTask(task.getId());
and change the assert to check for "review" instead of "wait" the tests works for me. I only had a 4.0 to hand, not 4.1 but I think this should work in 4.1....
.......
| Task task=taskList.get(0);
|
| //taskService.completeTask(task.getId());
|
| System.out.println("List is"+taskList);
|
| //verify that process moved to the next state
| processInstance = executionService.findProcessInstanceById(pid);
| assertTrue(processInstance.isActive("review"));
|
regards!
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258734#4258734
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258734
More information about the jboss-user
mailing list