summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVo Minh Thu <vmt@openerp.com>2013-07-23 15:27:51 +0200
committerVo Minh Thu <vmt@openerp.com>2013-07-23 15:27:51 +0200
commit3f9fb6eacc5468c62b9017fd2af6e259e16b7c8f (patch)
tree139aaeb8f0201972b5131971519c6cddd951814b
parent2397c1a98ba6b93dc013d6d338a50ec49bacd47f (diff)
[DOC] workflows: added Signals section.
bzr revid: vmt@openerp.com-20130723132751-lwn5r6y1m51jhj9o
-rw-r--r--doc/workflows.rst13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/workflows.rst b/doc/workflows.rst
index 939433440a2..19b845f7f98 100644
--- a/doc/workflows.rst
+++ b/doc/workflows.rst
@@ -113,6 +113,19 @@ defined:
Signals
'''''''
+In addition of a condition, a transition can specify a signal name. When such
+signal name is present, the transition will not be taken directly (even if the
+condition evaluates to true). Instead the transition will block, waiting to be
+woken up.
+
+To wake up a transition with a defined signal name, the signal must be sent to
+the workflow. A common way to send a signal is to use a button in the web
+interface, using the ``<button/>`` element with the signal name as the ``name``
+attribute of the button.
+
+.. note:: The condition is still evaluated when the signal is sent to the
+ workflow instance.
+
Triggers
''''''''