[Zope-CMF] DCWorkflow "cheat" question

Dmitry S. Makovey dmitry at athabascau.ca
Mon Aug 16 12:59:38 EDT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Hi everybody,
sorry for cross-posting but it seems that those two audiences would know the 
most about DCWorkflow applications.

We're trying to implement workflow which works as follows:

private--(show)-->visible--(submit)-->pending--(publish)-->published 

(after that some hairy stuff):

published--(edit)-->locked--(unlock)-->published

now when we execute transition "edit" document is getting locked and it's copy 
is placed under the same folder with changed name (or under "special" 
subfolder) then the copy itself goes through

private_c--(submit)-->pending_c--(publish2)-->X

where X is "dissapear" as on publish we want to copy document back to it's 
original and put it in the state "published". Now when if I delete old object 
before paste new one I'll loose state as new object will get default state 
which is "private". Is it possible to "cheat" and get right to "published" 
state? Or any other alternatives with the same functionality? Oh, and if I 
paste copy of an object back into it's original place I would be doing it as 
Reviewer so owner of new object is changed then and I have no idea how to 
solve this one.

- -- 
Dmitry Makovey
Web Systems Administrator
Athabasca University
(780) 675-6245
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFBIOf6yDrVuGfS98QRAnFoAKCVf2gsLLjCaT23Cemmabm+WI0kDQCeIEMS
WRl1hlfyVrWhJDybhZOKepw=
=4EXQ
-----END PGP SIGNATURE-----


More information about the Zope-CMF mailing list