Hi all, 

I am currently evaluating Ruote and have a requirement to send an email, or 
some other notification, when the workflow fails, and I need to start the 
process back up at the point where it failed.

For example, if I have the following:
PDEF_PROCESS_ORDER = Ruote.process_definition :name => 'process order' do
    sequence :on_error => 'handle_issue' do
      participant :billing_service
      participant :inventory_service
      participant :shipping_service
    end

    define 'handle_issue' do
      participant :error_notifier, :msg => 'process ${wfid} has gone 
ballistic'
    end
 
 end

Now I take the Inventory Web Service that the inventory_service participant 
uses down and start a new workflow. 

If there is no on_error option, and inventory_service fails, I can use the 
engine's replay_at_error method and pass in the error once the Inventory 
Web Service comes back up. 

If I have the on_error option and there is an error, then the process stops 
at error_notifier. I am not sure how to get back to the main flow at the 
point where it failed. 

Any ideas?

Thanks, 
Steve



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