Page History: Flow routes
Compare Page Revisions
Page Revision: 2012/10/03 15:11
|
Flow Routes
|
Info |
Category: |
Main concepts |
Role: |
Scenario design |
The flow route is a directional link that connects two
events on the same
layer. Together, the routes define a flow logic: the order of events on each layer, and when the events are switching. Four types of the routes are available, depending on how they gate the event flow: ‘time’, ‘condition’, ‘time or condition’ and ‘time and condition’. The default ‘time’ routes take an account a predefined duration of the source event, whereas 3 conditional route types also rely on a conditional code that can be attached to the route. The conditional code is a logical expression, written by an user. The condition is continuously evaluated by the program at runtime and a route gets open when the expression returns true.
Things To Know
- Switching between two events occurs only if the 'between' route exists AND the route is open. The programs continuously evaluate all outgoing routes of the current event and opens a particular route once its conditions are met.
- Flow routes allows logic branching when two or more routes originate from the same event and are controlled by different conditions.
- The routes are directional, in order to make a two-events loop, two routes have to be created with opposite directions
- Event that has no incoming routes will never be activated, unless it's the first event on the layer
- When multiple outgoing routes become open at the same time, the first route by creation order is used. The order can be changed in GUI
Short description
GUI
{|
|
Example of flow logic
||
Branching
Flow route types
Time route
Condition route
Time or condition route
Time and condition route ¶
Creating and managing routes ¶
Examples of route conditions
// Check the trial outcome. Result and RT just other user variables
// insert code snippet here..
Recurrent route