When you are creating or editing a scenario, you can configure settings to control the way data flows through it.
You must have the following access to use the functionality in this article:
|Adobe Workfront plan*||
Pro or higher
|Adobe Workfront license*||
|Adobe Workfront Fusion license**||
Workfront Fusion for Work Automation and Integration
Workfront Fusion for Work Automation
|Product||Your organization must purchase Adobe Workfront Fusion as well as Adobe Workfront to use functionality described in this article.|
To find out what plan, license type, or access you have, contact your Workfront administrator.
For information on Adobe Workfront Fusion licenses, see Adobe Workfront Fusion licenses.
You can use a Repeater module to repeat a task a given number of times. A Repeater module generates bundles, one after another.
For example, you could use a Repeater module to send five emails with the subjects “Hello 1,” “Hello 2,” and so on, by connecting the Email >Send me an email module to the Repeater module.
To use a Repeater module:
Click the Flow Control icon at the bottom of the screen, then click Repeater in the menu that displays.
Click the Repeater bundle, then click Connect automatically in the box that displays.
In the Flow Control box that appears, type the number of repetitions (outputted bundles) you want in the Repeats box.
In our email example, you would type 5.
The value of the item increases in each repetition by this value specified in the Step field, which you can view by selecting Show advanced settings. This number is 1 by default.
Click OK to close the Flow Control box.
Click the app or service module connected to the Repeater module.
In the box that appears, type the information that you want to repeat.
In our email example, you would type Hello in the Subject box, then map
i from the repeater module.
|Initial value||Enter or map the number that you want the module to set as
|Repeats||Enter or map the number of times that you want the module to repeat. This number must be greater than or equal to 0, and less than or equal to 10,000.|
|Step||This is the number by which the module increases the value of
The number of repeats is not determined by the value of
i, as it would be in a loop in programming. The module will repeat the number of times indicated in the Repeats field. The value
i changes with each iteration of the repeater module, and can be mapped to later modules. The example above maps the value of
i into the Hello message, resulting in messages that read “Hello 1,” Hello 2," and so on.
An Iterator is a special type of module that converts an array into a series of bundles. Each array item will be a separate bundle in the Iterator module output. For more information, see Iterator module in Adobe Workfront Fusion.
An array aggregator is a special type of module which allows to merge several bundles into one single bundle. For more information, see Aggregator module in Adobe Workfront Fusion.
The Router module allows you to branch your flow into several routes and process the data within each route differently. Once a Router module receives a bundle, it forwards it to each connected route in the order the routes were attached to the Router module. For more information, see Router module in Adobe Workfront Fusion.