ÃÛ¶¹ÊÓƵ

Add a Router module and configure routes

The Router module allows you to branch your scenario into several routes, and process the data within each route differently. When a Router module receives a bundle, it forwards it to each connected route in the order the routes were attached to the Router module.

Routes are processed sequentially, not in parallel. A bundle is not sent to the next route until it has been completely processed by the previous route.

Access requirements

Expand to view access requirements for the functionality in this article.

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:

  • Select or Prime Workfront plan: Your organization must purchase ÃÛ¶¹ÊÓƵ Workfront Fusion.
  • Ultimate Workfront plan: Workfront Fusion is included.

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.

Add a Router module to a scenario

You must add a Router module before configuring routes.

  1. Click the Scenarios tab in the left panel.

  2. Select the scenario where you want to add a router.

  3. Click anywhere on the scenario to enter the Scenario editor.

  4. In the scenario editor, Click on the right handle of the module after which you want to add the router.

  5. Select Flow Control > Router in the list of modules that displays.

    Connect the route

    Or

    To insert the Router module between two modules, click on the wrench icon below the route connecting the two modules and select Add a router from the menu.

    Insert router

  6. Add the first route to the router by clicking on the right handle of the router and adding a module, similar to adding any module.

  7. To add another route, click the router module. A route appears. Add modules to this route as desired.

    You can add as many routes as you want.

  8. To verify the order of the routes, click the Auto-align icon Auto-align icon .

    The routes are arranged in the order they execute. The top route executes first.

  9. (Optional) To change route order, unlink the routes by right clicking on the path from the router and selecting Unlink, then dragging them to the router module in the desired order. The first route attached will be the first route to execute (the top route).

  10. Continue to Add a filter to a route.

Add a filter to a route

You can put a filter on a route after the Router module to filter bundles. Only bundles that pass through the filter will be handled by the modules on the route.

If data passes the filter of more than one route, the data is handled by both routes. The top route handles the data first.

  1. Click the Scenarios tab in the left panel.

  2. Select the scenario where you want to add a filter.

  3. Click anywhere on the scenario to enter the Scenario editor.

  4. Click the wrench icon Wrench on the path where you want to set a filter. This is the path between the router module and the first module of the route.

  5. Select Set up a filter.

  6. In the label field of the panel that displays, add a label. This label displays in the scenario.

  7. Configure filter conditions.

    For more information, see Add a filter to a scenario.

  8. Click OK to save the filter setup.

  9. Continue to Configure a fallback route.

Configure a fallback route

The fallback route is the route that executes on any bundles that do not pass any filter to another route.

You can enable a fallback route in the filter panel.

  1. Click the Scenarios tab in the left panel.

  2. Select the scenario where you want to add a fallback route.

  3. Click anywhere on the scenario to enter the Scenario editor.

  4. Click the wrench icon Wrench on the path where you want to set a filter. This is the path between the router module and the first module of the route.

  5. Select Set up a filter.

  6. In the label field of the panel that displays, add a label. This label displays in the scenario.

  7. Enable the fallback route checkbox.

    Fallback route

  8. Click OK to save the filter setup.

The Fallback route is marked with a different arrow in the Router module:

Arrow sign in router

Example: if/else use case

recommendation-more-help

A typical use case of the fallback route is to continue the flow with one route if the condition is met and with another route if it is not. as in the following steps:

In this example, the first route is configured with a filter. This represents the if component.

Set up a filter in route

The second route is configured as a fallback route. This represents the else component.

Enable fallback option

7e1891ad-4d59-4355-88ab-a2e62ed7d1a3