[z3-five] Adaption of workflow tool
Dennis Schulz
d.schulz81 at gmx.net
Thu Jan 18 12:21:34 CET 2007
Hello Plone List,
I have a database driven application that creates temporary mapped
objects not intended to be persistent content types (mainly Zope 3 with
Alchemist Product)
That worked quite well until now, but completly without workflow.
Now I would like to give workflow to these objects. (well I have to,
that application depends heavily on it)
As all my users and groups are mapped from LDAP inside Plone, so it
would be nice to use the Plone workflow.
To achieve this, I will have use some kind of persistent proxy object to
store the workflow state and the reference.
I looked at Zope 3 ways of doing this, means to have a persistent
annotation with workflow state and IKeyReference adapter that refers to
a resolvable url and the unique database key.
But the bad and messy local utility and annotation support of Zope 2.9
brought me out of this track................I think zope 2.9 is not
mature enough to support this. dont even know if 2.10 is.
Now I found this document and have a look at the way the CPS proxy
object is done, but it also relies on portal types:
http://www.nuxeo.com/docs/europython2004/cps_proxies_workflows_events.pdf
So my question is, has anyone done an adaption of plone workflow that
does not use a portal type, but maybe a OFS.SimpleItem (that just stores
the reference to the data base and workflow state) or can point me to
additional material?
I dont know if this solution is good style and easily possible in any
way, any additional help or recommendations would be appreciated.
If such an adaption is not easily possible, the fallback solution is to
write my own little workflow engine, but I would weep a litte doing this.
Dennis
More information about the z3-five
mailing list