+

Search Tips   |   Advanced Search

Start and End Transitions

When the tuple that consists of the referenced transition endpoint and event matches the source of a start transition, dialogs are started. Start transitions differ from other transitions only in they carry the attribute type, with the value start. Similarly, end transitions carry the attribute type, with the value end. See code sample 14.

Each dialog needs to define at least one start and at least one end transition. The reason for forcing dialog modelers to define start and end transitions is to avoid transitions that can accidentally start or end a screen flow.

Code sample 14:

01  <transition type="start">
 02      <source>
 03          ...
 04      </source>
 05      <target>
 06          ...
 07      </target>
 08  </transition>
 09  ...
 10  <transition type="end">
 11      <source>
 12          ...
 13      </source>
 14      <target>
 15          ...
 16      </target>
 17  </transition>


Parent topic: Transitions