[Zope-CMF] Creating a new Workflow

Jeff jeff@thecolemans.ws
Fri, 11 May 2001 08:03:28 -0500


Great, thanks!
MyWorkflow now shows up on the 'Add workflow' page as a type, but ...
The default_workflow is gone!
I have looked into the code, but it's a little over my head :-(
I can not determine if the problem is in adding the new workflow or the
display of existing workflows...

Jeff

> Jeff wrote:
> >
> > Hi all,
> > I would like to create my own Workflow, I am a newbie running fast
> > trying to get up to speed ;-}.
<snip>
>
> It sounds like you're on the right track.  Just "import MyWorkflow".
> Your workflow module will probably register a workflow class like this:
>
> from Products.CMFCore.WorkflowTool import addWorkflowClass
> addWorkflowClass(DCWorkflowDefinition)
>
> That will make it addable from the management interface.
>
> Shane