Author: marco.rietveld
Date: 2011-08-30 09:15:06 -0400 (Tue, 30 Aug 2011)
New Revision: 7009
Modified:
jbpm3/branches/jbpm-3.2-soa/userguide/src/main/docbook/en-US/jpdl.xml
Log:
Added additional documentation clarifying the behaviour of
transitions/conditions/decisions.
Modified: jbpm3/branches/jbpm-3.2-soa/userguide/src/main/docbook/en-US/jpdl.xml
===================================================================
--- jbpm3/branches/jbpm-3.2-soa/userguide/src/main/docbook/en-US/jpdl.xml 2011-08-30
13:12:54 UTC (rev 7008)
+++ jbpm3/branches/jbpm-3.2-soa/userguide/src/main/docbook/en-US/jpdl.xml 2011-08-30
13:15:06 UTC (rev 7009)
@@ -1198,13 +1198,16 @@
<entry>transition conditions</entry>
<entry>attribute or element text on the transitions leaving a
decision</entry>
<entry></entry>
- <entry>Every transition may have a guard condition. The decision
node
+ <entry><para>Every transition may have a guard condition. The
decision node
examines the leaving transitions having a condition, and selects the first
- transition whose condition is true. In case no condition is met, the
+ transition whose condition is true.</para>
+ <para>In case no condition is met, the
<emphasis>default</emphasis> transition is taken. The default
transition is
the first unconditional transition if there is one, or else the first
- conditional transition. Transitions are considered in document order.
-
+ conditional transition. Transitions are considered in document
order.</para>
+ <para>If only conditional ("guarded") transitions are
available, and
+ <emphasis>none</emphasis> of the conditions on the transitions
evaluate
+ to true, an exception will be thrown.</para>
</entry>
</row>
<row>