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#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...