Commit 43cce7ff authored by Sylvain Thénault's avatar Sylvain Thénault
Browse files

add_state/add_transition are now deprecated, only add_workflow remaining

parent a413fac5ff5e
......@@ -162,11 +162,8 @@ Workflow creation
The following functions for workflow creation are available in `repository`
* `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` .
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment