Page 81 -
P. 81

68                                            N. Russell and A. ter Hofstede














































                           Fig. 2.30 Data passing to/from a multiple instance task in YAWL




                           Similarly for data output from a multiple instance task, there are also two queries:
                             The instance query gathers the instances of the task variables from each task
                              instance at their completion.
                             The aggregate query coalesces the resultant data elements into a single record-
                              based net variable.

                           Figure 2.30 illustrates how individual instances of the iTestResult variable are popu-
                           lated in the Evaluate Results multiple instance task from the TestResults net variable
                           and also how the results are coalesced at the conclusion of the task. The XQuery
                           expression required for each of the queries is also shown.
   76   77   78   79   80   81   82   83   84   85   86