Flow control
When you are creating or editing a scenario, you can configure settings to control the way data flows through it.
Access requirements
| table 0-row-2 1-row-2 2-row-2 layout-auto html-authored no-header | |
|---|---|
| Adobe Workfront package |
Any Adobe Workfront Workflow package and any Adobe Workfront Automation and Integration package Workfront Ultimate Workfront Prime and Select packages, with an additional purchase of Workfront Fusion. |
| Adobe Workfront licenses |
Standard Work or higher |
| Product | If your organization has a Select or Prime Workfront package that does not include Workfront Automation and Integration, your organization must purchase Adobe Workfront Fusion. |
For more detail about the information in this table, see Access requirements in documentation.
Repeater
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.
-
Click the Flow Control icon
at the bottom of the screen, then click Repeater in the menu that displays.
-
Click the Repeater module, then click Connect automatically in the box that displays.
The Repeater module opens.
-
In the the Repeats field, enter the number of repetitions (outputted bundles) you want the module to product.
In this example, you would enter 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
ifrom the repeater module.
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.Iterator
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.
Array aggregator
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.
Router
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.
Directives
The error handling directives allow you to control how your scenario reacts to errors.
For information on error handling directives, see Directives for error handling.