On Wed, May 26, 2010 at 02:51:27AM -0700, Tamas wrote: > > I follow Ruote (OpenwfeRu) development for some time and I have to say > that it's very powerful and handy! > Thanks for John and all the committers!
Hello Tom, many thanks, > I'm just working on integrating ruote into a webapp and I'm learning > ruote through it. > I constantly have the problem that I can't cancel/kill processes with > errors (like "Argument Error: no participant named "form1"). > Engine.re_apply didn't help also. > > What to do with such processes? How could I debug the situation? I'm sorry, are you telling us that doing Engine.cancel_process(wfid) or Engine.kill_process(wfid) isn't removing the process from your engine ? The classical procedure is to a) identify the problem err = Engine.process(wfid).errors.first p err > errors (like "Argument Error: no participant named "form1"). b) fix the problem Engine.register_participant 'form1', MyParticipantClass, 'param0' => 'val0' c) replay_at_error Engine.replay_at_error(err) I will complete the documentation at http://ruote.rubyforge.org/process_administration.html ASAP. Cheers, -- John Mettraux - http://jmettraux.wordpress.com -- you received this message because you are subscribed to the "ruote users" group. to post : send email to [email protected] to unsubscribe : send email to [email protected] more options : http://groups.google.com/group/openwferu-users?hl=en
