doc/book/en/development/migration/index.rst
brancholdstable
changeset 4985 02b52bf9f5f8
parent 4447 a55fb2745644
equal deleted inserted replaced
4563:c25da7573ebd 4985:02b52bf9f5f8
   160 -----------------
   160 -----------------
   161 
   161 
   162 The following functions for workflow creation are available in `repository`
   162 The following functions for workflow creation are available in `repository`
   163 scripts:
   163 scripts:
   164 
   164 
   165 * `add_state(name, stateof, initial=False, commit=False, **kwargs)`, adds a new state
   165 * `add_workflow(label, workflowof, initial=False, commit=False, **kwargs)`, adds a new workflow
   166   in the workflow.
   166   for a given type(s)
   167 
       
   168 * `add_transition(name, transitionof, fromstates, tostate, requiredgroups=(), commit=False, **kwargs)`,
       
   169   adds a new transition in the workflow.
       
   170 
   167 
   171 You can find more details about workflows in the chapter :ref:`Workflow` .
   168 You can find more details about workflows in the chapter :ref:`Workflow` .
   172 
   169 
   173 Configuration migration
   170 Configuration migration
   174 -----------------------
   171 -----------------------