Le mardi 31 juillet 2007 à 11:25 +0000, Alek Kowalczyk a écrit :
> I would like to have an ability to get 'workflow history' for my object.
> should contain a list of transitions with "from" and "to" states and with
> Have anyone tried to implement such a simple functionality in hurry.workflow,
> similar to what ClearQuest does? I would be grateful for suggestions how to
> with this. Maybe I've missed something while reading hurry.workflow docs, and
> is already available?
I implemented such a functionality by adding a listener on
IWorkflowTransitionEvent, which with the help of zc.comment package add
comments with source and destination states labels, as well as a few
user comments ; these comments are prefixed by special characters so
that I can (when needed) filter them easilly, but implementing another
cleaner adapter to handle this should be very easy.
Chef de projet intranet/internet
Office National des Forêts - Département Informatique
2, Avenue de Saint-Mandé
75570 PARIS Cedex 12
Mél : [EMAIL PROTECTED]
Tél. : +33 01.40.19.59.64
Fax. : +33 01.40.19.59.85
Zope3-users mailing list