Model 7c - Multiple Parallel Activity

Parent Previous Next

Goals of this lesson


How-to

In Model 7c we will introduce you to the multiple parallel activity. This kind of activity is being executed x times simultaneously. The number of parallel instances is determined by an expression which must evaluate to an integer.

Figure 1: Model 7c - Multiple Parallel Activity / IYOPRO-Link


Approach


Explanation

The first activity defines the variable x with the value 4. We then use x to determine the number of parallel instances of the second (parallel) activity. This means that the second activity will be executed 4 times simultaneously.