Aggregator module
An aggregator module is a module that merges several bundles of data into a single bundle.
Access requirements
You must have the following access to use the functionality in this article:
table 0-row-2 1-row-2 2-row-2 3-row-2 layout-auto html-authored no-header | |
---|---|
ÃÛ¶¹ÊÓƵ Workfront package | Any |
ÃÛ¶¹ÊÓƵ Workfront license |
New: Standard Or Current: Work or higher |
ÃÛ¶¹ÊÓƵ Workfront Fusion license |
Current: No Workfront Fusion license requirement. Or Legacy: Any |
Product |
New:
Or Current: Your organization must purchase ÃÛ¶¹ÊÓƵ Workfront Fusion. |
To find out what plan, license type, or access you have, contact your Workfront administrator.
For information about ÃÛ¶¹ÊÓƵ Workfront Fusion licenses, see ÃÛ¶¹ÊÓƵ Workfront Fusion licenses.
Aggregator module overview
When an Aggregator module executes, it does the following:
- Accumulates all the bundles from a single source module’s operation.
- Outputs a single bundle with an array containing one item per accumulated bundle. The content of the array’s items depends on the particular Aggregator module and its setup.
The following image shows a typical setup of the Aggregator module :
Example scenario of how aggregators work
This example scenario shows how to zip all email attachments and uploading the ZIP to Dropbox.
The scenario below shows how to:
-
The first module watches a mailbox for incoming emails. The Email >Watch emails trigger outputs a bundle with item
Attachments[]
, which is an array containing all the email’s attachments. -
The second model iterates the email’s attachments: Email >Iterate attachments iterator takes the items from the
Attachments[]
array one by one and sends them further as separate bundles. -
The third module is the aggregator. It aggregates the bundles outputted by the Email >Iterate attachments module. Archive >Create an archive aggregator accumulates all the bundles it receives and outputs a single bundle containing the ZIP file.
-
The last module uploads the resulting ZIP file to Dropbox. Dropbox > Upload a file obtains the ZIP file from the Archive > Create an archive module and uploads it to Dropbox.
Below is a sample setup of the Archive > Create an archive aggregator: