--- 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` .