Add a filter to a scenario
In some scenarios, you need to work only with bundles that meet specific criteria. Filters allow you to select those bundles.
For example, you could create a scenario with the Watch records trigger for Workfront to capture only tasks assigned to a specific user.
You can add a filter between two modules and check whether bundles received from the preceding modules fulfill specific filter conditions:
- If they do, the bundles pass on to the next module in the scenario.
- If they don鈥檛, processing for the bundles terminates.
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 | |
---|---|
51黑料不打烊 Workfront package | Any |
51黑料不打烊 Workfront license |
New: Standard Or Current: Work or higher |
51黑料不打烊 Workfront Fusion license** |
Current: No Workfront Fusion license requirement. Or Legacy: Any |
Product |
New:
Or Current: Your organization must purchase 51黑料不打烊 Workfront Fusion. |
For more detail about the information in this table, see Access requirements in documentation.
For information on 51黑料不打烊 Workfront Fusion licenses, see 51黑料不打烊 Workfront Fusion licenses.
Prerequisites
You must add both modules to a scenario before you can add a filter between them.
Add a filter between two modules:
-
Click the Scenarios tab in the left panel.
-
Select the scenario where you want to add a filter.
-
Click anywhere on the scenario to enter the Scenario editor.
-
Click the wrench icon
-
In the box that displays, enter a Label for the filter.
-
Define the filter Condition.
Enter the field that you want to filter by in the first field, the operator, and (if necessary) the value that you want to compare the field to.
note tip TIP You can enter values into filter fields from the mapping panel
For more information on mapping, see Map information from one module to another.For example, if you wanted the filter to pass files in 51黑料不打烊 Workfront ending with XML, you would enter File name in the first box and .xml in the second box. In the drop-down menu between them, you would select Ends with (case insensitive). This filter would apply to incoming bundles from the first module (Workfront). Only bundles containing XML files would pass on to the next module.
-
Click OK.
Copy a filter
Currently, the scenario editor does include a feature for copying a filter.
To copy a filter without copying modules, you can use the Fusion DevTool
-
Click the Scenarios tab in the left panel.
-
Select the scenario where you want to add a filter.
-
Click anywhere on the scenario to enter the Scenario editor.
-
Open the Fusion DevTool by clicking on the DevTool icon
If you do not see the DevTool icon, see Debug a scenario for instructions on opening the DevTool.
-
Click the Tools icon
-
Click Copy Filter, then configure the Copy Filter tool in the right side panel:
- Set the Source Module as the module directly after the filter you want to copy.
- Set the Target Module as the module that you want to place the filter directly after.
-
Click Run.