[CMF-checkins] CVS: CMF/DCWorkflow - Default.py:1.7
Shane Hathaway
shane@digicool.com
Tue, 30 Oct 2001 10:41:27 -0500
Update of /cvs-repository/CMF/DCWorkflow
In directory cvs.zope.org:/tmp/cvs-serv11268
Modified Files:
Default.py
Log Message:
Updated default workflows with update_always parameter.
=== CMF/DCWorkflow/Default.py 1.6 => 1.7 ===
vdef.setProperties(description='The last transition',
default_expr='transition/getId|nothing',
- for_status=1)
+ for_status=1, update_always=1)
vdef = wf.variables['actor']
vdef.setProperties(description='The ID of the user who performed '
'the last transition',
default_expr='user/getUserName',
- for_status=1)
+ for_status=1, update_always=1)
vdef = wf.variables['comments']
vdef.setProperties(description='Comments about the last transition',
default_expr="python:state_change.kwargs.get('comment', '')",
- for_status=1)
+ for_status=1, update_always=1)
vdef = wf.variables['review_history']
vdef.setProperties(description='Provides access to workflow history',
@@ -237,7 +237,7 @@
vdef = wf.variables['time']
vdef.setProperties(description='Time of the last transition',
default_expr="state_change/getDateTime",
- for_status=1)
+ for_status=1, update_always=1)
ldef = wf.worklists['reviewer_queue']
ldef.setProperties(description='Reviewer tasks',
@@ -347,18 +347,18 @@
vdef = wf.variables['action']
vdef.setProperties(description='The last transition',
default_expr='transition/getId|nothing',
- for_status=1)
+ for_status=1, update_always=1)
vdef = wf.variables['actor']
vdef.setProperties(description='The ID of the user who performed '
'the last transition',
default_expr='user/getUserName',
- for_status=1)
+ for_status=1, update_always=1)
vdef = wf.variables['comments']
vdef.setProperties(description='Comments about the last transition',
default_expr="python:state_change.kwargs.get('comment', '')",
- for_status=1)
+ for_status=1, update_always=1)
vdef = wf.variables['review_history']
vdef.setProperties(description='Provides access to workflow history',
@@ -369,7 +369,7 @@
vdef = wf.variables['time']
vdef.setProperties(description='Time of the last transition',
default_expr="state_change/getDateTime",
- for_status=1)
+ for_status=1, update_always=1)
ldef = wf.worklists['reviewer_queue']
ldef.setProperties(description='Reviewer tasks',