# HG changeset patch # User Sylvain Thénault # Date 1265227359 -3600 # Node ID a55fb2745644e6d7b08d120301dc88794aaa6010 # Parent a413fac5ff5e8d99516a8f689fe1d818235dac07 add_state/add_transition are now deprecated, only add_workflow remaining diff -r a413fac5ff5e -r a55fb2745644 doc/book/en/development/migration/index.rst --- a/doc/book/en/development/migration/index.rst Wed Feb 03 21:02:15 2010 +0100 +++ b/doc/book/en/development/migration/index.rst Wed Feb 03 21:02:39 2010 +0100 @@ -162,11 +162,8 @@ The following functions for workflow creation are available in `repository` scripts: -* `add_state(name, stateof, initial=False, commit=False, **kwargs)`, adds a new state - in the workflow. - -* `add_transition(name, transitionof, fromstates, tostate,._cwuiredgroups=(), commit=False, **kwargs)`, - adds a new transition in the workflow. +* `add_workflow(label, workflowof, initial=False, commit=False, **kwargs)`, adds a new workflow + for a given type(s) You can find more details about workflows in the chapter :ref:`Workflow` .