[Zope-CMF] programmatically change workflow state

Gitte Wange gitte@mmmanager.org
Wed, 15 Aug 2001 13:34:50 +0200


On Wednesday 15 August 2001 13:25, you wrote:
> > Does this look correct ? It's a bit DCWorkflow-centric unfortunately,
> > because WorkflowTool doesn't expose any method to force a state change.
>
> Oops, I just found WorkflowTool.setStatusOf ... I guess it answers this
> part of the question :-)
>
> Florent Guillaume
> Nuxeo
>

Hi

I just looked at the code.
What is the wf_id parameter ?
I guess it's workflow parameter ... but what should I pass to the function in 
a "standard" CMF site (a CMF site that uses the default workflow) ?

Regards,
Gitte Wange