entities/wfobjs.py
branch3.5
changeset 2947 083593802120
parent 2946 957fd4b276e2
child 2948 d3cd8bd20ee5
--- a/entities/wfobjs.py	Fri Aug 21 08:44:16 2009 +0200
+++ b/entities/wfobjs.py	Fri Aug 21 08:44:51 2009 +0200
@@ -289,6 +289,13 @@
             return self.req._(state.name)
         return u''
 
+    @property
+    def workflow_history(self):
+        """return the workflow history for this entity (eg ordered list of
+        TrInfo entities)
+        """
+        return self.reverse_wf_info_for
+
     def latest_trinfo(self):
         """return the latest transition information for this entity"""
         return self.reverse_wf_info_for[-1]