Hi again,

I've implemented the suggested workaround but now I'm facing a weird
behaviour (ruote 0.9). When I exec the following simple workflow:

--8--

class Test0 < OpenWFE::ProcessDefinition
  sequence :on_error => "alpha" do
      bravo
      error 'Failure'
      charly
  end

  process_definition :name => "alpha" do
    sequence do
      foxtrot
      terminate
      zulu
    end
  end
end

--8--

where "terminate" is a block participant ("conf/participants.rb"):

--8--

RuoteRest.engine.register_participant :terminate do |fe, wi|
  wfid = fe.fei.workflow_instance_id.split('.')[0]
  RuoteRest.engine.cancel_process wfid
end

--8--


sometimes the whole process is cancelled, and sometimes it is not. I
checked the /history resource for both situations and found that
whenever the process is not fully cancelled, there is one 'cancel'
event missing


Sat Apr 10 06:27:59 +0200 2010  expool  cancel   20100410-deromoyogi
process-definition 0


Is this a buggy behaviour or am I doing something wrong?

Thanks for the help.
Best regards.

Gonzalo.

-- 
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

Reply via email to