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