equal
deleted
inserted
replaced
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,._cwuiredgroups=(), 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 ----------------------- |