|
1674.
|
|
|
**function**: Execute the function selected by an action.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/developer/07_workflows.rst:161
|
|
1675.
|
|
|
**subflow**: Execute a sub-workflow SUBFLOW_ID. The action method must return the ID of the concerned resource by the subflow. If the action returns False, the workitem disappears.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/developer/07_workflows.rst:162
|
|
1676.
|
|
|
**stopall**:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/developer/07_workflows.rst:163
|
|
1677.
|
|
|
A sub-workflow is executed when an activity is of the type SUBFLOW. This activity ends when the sub-workflow has finished. While the sub-workflow is active, the workitem of this activity is frozen.
|
|
|
|
Подпроцесс выполняется когда действие имеет тип SUBFLOW. Это действие завершается когда подпроцесс выполнен. Пока подпроцесс активен, рабочий элемент этого действия остается замороженным.
|
|
Translated by
Xavier (Open ERP)
|
|
|
|
|
960381b0ec8242a1b6e3459580ce0ff5
|
|
Located in
../../source/developer/07_workflows.rst:165
|
|
1678.
|
|
|
The action indicates the method to execute when a workitem comes into this activity. The method must be defined in an object which belongs to this workflow and have the following signature:
|
|
|
|
Действие указывает метод, который выполняется когда рабочий элемент вступает в эту деятельность. Этот метод должен быть определен в объекте который принадлежит этому рабочему процессы и выглядит следующим образом:
|
|
Translated by
Xavier (Open ERP)
|
|
|
|
|
6112acb81cf54398a5841243709d45ad
|
|
Located in
../../source/developer/07_workflows.rst:171
|
|
1679.
|
|
|
In the action though, they will be called by a statement like:
|
|
|
|
Хотя в действии они будут вызываться так:
|
|
Translated by
Xavier (Open ERP)
|
|
|
|
|
3b6f18dd7ec84a70aacddae6bd8f9d9f
|
|
Located in
../../source/developer/07_workflows.rst:177
|
|
1680.
|
|
|
This field is used to specify a signal that will be sent to the parent workflow when the activity becomes active. To do this, set the value to the name of the signal (without the ``signal.`` prefix).
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/developer/07_workflows.rst:187
|
|
1681.
|
|
|
Indicates if the node is a start node. When a new instance of a workflow is created, a workitem is activated for each activity marked as a ``flow_start``.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/developer/07_workflows.rst:196
|
|
1682.
|
|
|
As for all Boolean fields, when writing the ``<field>`` tag in your XML data, be sure to use the ``eval`` attribute and not a text node for this attribute. Read the section about the :ref:`eval attribute <eval-attribute-link>` for an explanation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/developer/07_workflows.rst:200
|
|
1683.
|
|
|
Indicates if the node is an ending node. When all the active workitems for a given instance come in the node marked by flow_stop, the workflow is finished.
|
|
|
|
Указывает, является ли узел конечным узлом. Когда все активные рабочие элементы для данного экземпляра приходят в узел помеченный как flow_stop, рабочий процесс закончен.
|
|
Translated by
Xavier (Open ERP)
|
|
|
|
|
a52e67aec20a4727bbff3f5b00ea692e
|
|
Located in
../../source/developer/07_workflows.rst:209
|