The first module always starts. If it returns any bundles, they are passed to the next module in the chain. If this module succeeds, processing continues on to the next module and this is repeated until the last module in the scenario is processed. If all modules are processed correctly, the scenario is marked as Successful.
The example belows interconnects three modules. It explains how to download photos from Instagram, resize them to a smaller size and send them to a selected Dropbox folder.
In this case, the module returned one bundle (Instagram photo). If no bundle is returned, the processing of the scenario does not continue to the next module and is terminated after the first module.
If more bundles are returned, the bundles then pass through the rest of the scenario separately one at a time. If Instagram returns, for example, two bundles, the processing of the latter bundle will not start until the first bundle is resized and uploaded to Dropbox.
Once a scenario run is completed, each module displays an icon showing the number of operations performed. Clicking this icon will display detailed information about processed bundles. You can see which module settings were used and which bundles were returned by the module.
The picture beside illustrates the processing of the Upload a file module from the Dropbox package used in the above scenario.
The module received the following input information:
After processing, the module returned this output information:
As this is the last module in the scenario, the above information will not be processed any further.
An error may occur during scenario run. If you, for example, delete the Dropbox folder that you have set as target folder in the module setting, the scenario will terminate with an error message. For more information please see the Error processing help quide.