[Zope-CMF] Workflow variables updating too many times

Adam Fields fields@surgam.net
Tue, 1 Jul 2003 18:18:19 -0400


I have a number of transitions set up. Some of them change the
review_history variable (which is set to only update when a state or
transition specifies a new value), as follows:

review_history = state_change/getHistory

Most of the time this seems to work fine, but when I "Publish", I get
seven entries in the history for that action.

Since the workflow is massively more complicated than I can express
here, I guess my questions are:

1) where are the workflow variables updated?

2) has anyone seen anything like this?

Also, a related problem I'm seeing is that some objects with this
workflow don't have workflow variables. It's possible that the objects
were created without a workflow which was then applied - when are the
workflow variables created?

-- 
				- Adam

-----
Adam Fields, Managing Partner, fields@surgam.net
Surgam, Inc. is a technology consulting firm with strong background in
delivering scalable and robust enterprise web and IT applications.
http://www.adamfields.com