Sylvain Catudal [http://community.jboss.org/people/scatudal] created the 
discussion

"How to force a transition when HttpSession in which task was started is no 
longer valid"

To view the discussion, visit: http://community.jboss.org/message/611416#611416

--------------------------------------------------------------
Hi all,
I'm currently working on a web form workflow where forms are created, edited, 
approved and published.

We don't want two users to edit the same form simultaneously so there is a 
state availableToEdit.  From there, a user can start editing the web form.  If 
the user uses the web interface approprietly, it will either go back to 
availableToEdit or go on to the next state.  As you well know, it is impossible 
to enforce that.  This is why I want to know how I can force a transition when 
the HttpSession in which the task was started is no longer valid.

I know I could create a ServletContextListener that could force those 
transitions when sessions are destroyed or create a Quartz task that roots them 
out and do what is needed.  But I'm sure I'm not the only one with this kind of 
problem and it feels like there should be an easy solution within JBPM. Maybe 
with timers, but I haven't found out yet.

Thanks for your time,
Sylvain
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/611416#611416]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to