On Mon, Oct 19, 2009 at 6:16 PM, Gonzalo <[email protected]> wrote: > > I launched this workflow definition within a clean install of ruote- > rest: > > class Test0 < OpenWFE::ProcessDefinition > sequence :on_cancel => "exit" do > participant :ref => "alpha" > participant :ref => "bravo" > end > process_definition :name => "exit" do > participant :ref => "charly" > participant :ref => "zulu" > end > end > > At alpha or bravo stage I just cancel the workflow. Then, a new > subprocess called 'exit' is started > and workitem is delivered to participant charly. As far as I see, the > new subprocess is given a new > id which is the old one (main process) plus ".0" so it looks similar > to: 20091019-godepoyoyu.0 > > Then I GET /processes and see that there is still a process with id > '20091019-godepoyoyu', but the name > has changed to 'exit'. I expected to see the new id '20091019- > godepoyoyu.0'. Then I do a GET on that > process (GET processes/20091019-godepoyoyu) and shows up the following > error: > > undefined method `each' for nil:NilClass
Hello Gonzalo, my mistake : ruote-rest has some weak points when it gets to subprocesses. I have to fix that. IIRC, you already pointed to some of those issues 2 months ago. Thanks a lot, -- 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 -~----------~----~----~----~------~----~------~--~---
