How to get all workflow states from a workflow?
Hi All, I want to get the list of all workflow states from a work flow. I know the way of getting the current review_state of an item. here.portal_workflow.getInfoFor(here,'review_state'). what I want is to get the list of all states... Urgent help needed bye from sara A.Saravanan, WundtStrasse 7,Zi:9L1, Dresden - 01217 Germany Home: 0351-7997546 Mobile: 01797395091 ___________________________________________________ Meet your old school or college friends from 1 Million + database... Click here to reunite www.batchmates.com/rediff.asp
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
participants (2)
-
Dieter Maurer -
saravanan annamalai