Flow control
When you are creating or editing a scenario, you can configure settings to control the way data flows through it.
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** | No Workfront Fusion license requirement. |
Product |
New:
Or Current: Your organization must purchase ۶Ƶ Workfront Fusion. |
For more detail about the information in this table, see Access requirements in documentation.
For information on ۶Ƶ Workfront Fusion licenses, see ۶Ƶ Workfront Fusion licenses.
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
-
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
i
from 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 ۶Ƶ 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.