Thank you very much for your response, Gavin!

I managed to get it working, but there's still a point I'm missing to get 
things clear. What I aimed at was a conversational stateful bean which controls 
the 'wizard'. So, I have a method which creates the process and a couple of 
methods which end the tasks according to the steps in the wizard. However, if 
annotate the methods with @EndTask, the stateful conversational bean gets 
destroyed. I assume that's because the end task ends the current conversation. 
Is there a way to avoid it?

One more question - is it possible, using the seam integration, to create a 
process and start a task at the same time, i.e. in the same method? In the 
method annotated with @CreateProcess I don't have the first taskId and the only 
way to do it seems to implement the org.jbpm.graph.def.ActionHandler.execute() 
method and get the taskId from th? ExecutionContext argument, but I'm not sure 
it's quite elegant way to do it. Is there something I'm missing or I'm just not 
grasping the idea properly?

Thanks again!

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

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

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to