[Zope-CMF] Changing DCWorkflow state from a CMF Product

Michael LaPera mlapera@colorbyte.com
Mon, 21 Oct 2002 17:53:01 -0400


Hello all,

I need some help figuring out how to trigger a DCWorkflow state change 
from within a CMF Product?

Basically I looking for the equivalent of the following Python Script:

## Script (Python) "content_status_modify"
##bind container=container
##bind context=context
##bind namespace=
##bind script=script
##bind subpath=traverse_subpath
##parameters=workflow_action, comment=''
##title=Modify the status of a content object
##
context.portal_workflow.doActionFor(
      context,
      workflow_action,
      comment=comment)