[jboss-user] [JBoss jBPM] - Best practices for cancelling a workflow

2007-03-24 Thread pwfarwell
I need a way to cancel a workflow and have a handler fire, letting me know that the process was terminated abnormally. I'd like the handler to fire only when the process terminates in a non-standard way. For instance, I need to do some clean up of business code, clean up that I wouldn't have to

[jboss-user] [JBoss jBPM] - Re: using a JBPM timer

2007-03-19 Thread pwfarwell
kukeltje wrote : 1: look at the testcases in the source. Lots of info there | 2: yes, place an action on the transition or the 'leave node' event | 3: I'm not sure. best if you try. But even if it does, you could always use the in-memory hsqldb. No 'real' persistence then. Thanks! This is

[jboss-user] [JBoss jBPM] - using a JBPM timer

2007-03-18 Thread pwfarwell
I need to create a workflow where a node will stay in a wait state until either a timer times out or the user completes the task -- whichever comes first. What's the best way to model this use case? I think I understand how to assign and complete tasks. But I'm not too sure about timers. (I am