[Zope] How to get all workflow states from a workflow?

Dieter Maurer dieter at handshake.de
Sun Aug 24 00:07:46 EDT 2003


saravanan  annamalai wrote at 2003-8-21 16:31 -0000:
 >    I want to get the list of all workflow states from a work 
 > flow.

You know how to do this from the ZMI?

Whenever you are in this situation, you only need to
look how the ZMI does it (hey, Open Source is fun!).

In your case, you will find out, that

   <your_workflow>/states.object{Ids|Values|Items}

are the correct methods.

By the way, my "DocFinder" product can help you to find
out what methods are available.

	<http://www.dieter.handshake.de/pyprojects/zope


Dieter



More information about the Zope mailing list