Thanks Danny,
I also found there is a cancel method in Dashboard. But when I cancel a 
wokitem for alice, bob will still get the job. So I am wondering.....What 
is the difference between cancel and proceed?
 

On Monday, June 18, 2012 3:50:04 PM UTC-4, Danny Fullerton wrote:
>
> Hello,
>
> You should find what you need in the participant, not the storage. 
>
>  http://ruote.rubyforge.org/implementing_participants.html#cancel
>
> Regards, 
>
> --
> Danny Fullerton, CISSP GCIH GHTQ
> Founder 
> Mantor Organization
>
> Sent from mobile
>
> ddeng <[email protected]> wrote:
>
> >Hi,
> >  I have a workflow like:
> >sequence :on_cancel=>:report_error do
> >  alice
> >  bob
> >end
> >
> >I want report_error to be called if alice or bob fails to do the job. 
> Both 
> >alice and bob are storage_participant. I only found 
> >StorageParticipant#proceed method, but is there a cancel method for the 
> >workitem?
> >So I can have something like:
> >workitem.cancel if not alice.do(workitem)
> >
> >Thanks in advance
> >
> >-- 
> >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 "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