From d48f43ebff67a58f7d8d46c3463c4468234dbaad Mon Sep 17 00:00:00 2001 From: Martin Trigaux Date: Thu, 11 Feb 2016 10:01:04 +0100 Subject: [IMP] doc: better workflow example - Why is my workflow starting in b? - It is not, it goes from a to b directly - But I followed the example of the doc - It's incomplete --- doc/reference/workflows.rst | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'doc/reference/workflows.rst') diff --git a/doc/reference/workflows.rst b/doc/reference/workflows.rst index db57880436e..c67784797c4 100644 --- a/doc/reference/workflows.rst +++ b/doc/reference/workflows.rst @@ -86,6 +86,7 @@ instance, here is a simple sequence of two activities defined in XML + signal_goto_b A worfklow is always defined with respect to a particular model (the model is @@ -107,9 +108,10 @@ is of kind ``function``, which means that the action ``print_a()`` is a method call on the model ``test.workflow`` (the usual ``cr, uid, ids, context`` arguments are passed for you). -The transition between "a" and "b" does not specify any condition. This means -that the workflow instance immediately goes from "a" to "b" after "a" has been -processed, and thus also processes activity "b". +The transition between "a" and "b" specify a signal but not any condition. This +means the workflow instance will immediately transition from "a" to "b" when the +signal ``signal_goto_b`` is recieved and thus processes activity "b"'s action +``print_b()``. Activities ---------- -- cgit v1.2.3