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 <dengti...@gmail.com> 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 openwfe...@googlegroups.com
>to unsubscribe : send email to openwferu-use...@googlegroups.com
>more options : http://groups.google.com/group/openwferu-users?hl=en
>to post : send email to openwferu-users@googlegroups.com
>to unsubscribe : send email to openwferu-users+unsubscribe@googlegroups.com
>more options : http://groups.google.com/group/openwferu-users?hl=en