You use sequence to execute the activities in a sequence one after the other in the specified order.
Each child activity can use the results of the preceding child activities. If an activity adds new context objects to the sequence context (e.g. transferFile/toLocalTmpFile or listDirectory), then the following activities can access the new data.
Format
<sequence> comment? context? Activity+ </sequence>
Example
|
The files text.txt and bin.mp3 are delivered one after the other.
First of all, the first request in the request queue is submitted. Once this has been completed and if no error message is triggered, the second request in the request queue is submitted.