Hello,

just a quick note.

I've just added an on_error => store and and error :re feature to ruote on
master.

```ruby
  Ruote.define do
    sequence do
      resource1 :action => 'suspend'
      resource2 :action => 'suspend'
      sequence :on_error => 'store:err' do
        do_some_stuff
      end
      resource1 :action => 'resume'
      resource2 :action => 'resume'
      error :re => '$f:err'
    end
  end
```

The error gets placed in the "err" workitem field and raised later on.

Not sure it will help, but it might interest someone in the mailing list.


Best regards,

--
John Mettraux   -   http://lambda.io/jmettraux

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"ruote" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to