You can specify parallel to run all the activities "simultaneously" and independently of one another. However, truly simultaneous execution (for example, as in the case of time slicing) is not implemented.
The parallel activity is terminated when all the child activities have terminated. If one child activity outputs an error then child activities that are still running are cancelled.
The results of any given child activity are not visible in the other child activities.
The transfer of context objects to the parent context is not planned at present. Consequently, context objects which arise during the parallel activity are discarded.
parallel refers to the parallel processing of activities by openFT-Script. The maximum number of file transfers that actually run in parallel is determined by the openFT connection limit and process limit (see the manual "openFT (Unix and Windows systems) - Command Interface", fmodo command). To save resources, openFT-Script restricts the number of requests in the request queue in order to ensure that this connection limit is not exceeded. In the case of parallel, the requests can be processed in any order.
Synchronous activities such as deleteScript are also not necessarily all started at the same time within the framework of a parallel activity. Instead, the maximum number is limited (250 by default but can be modified using the ftmodsuo command), so that not too many threads have to be established.
Format
<parallel> comment? context? Activity+ </parallel>
Example
|
The files text.txt and bin.mp3 are delivered "simultaneously".
In fact, the file transfer requests are sent to openFT "simultaneously". If enough capacity is free then these requests are executed simultaneously.