Add a filter to a basic scenario
- Topics:
- Workfront Fusion
Filters allow you to ensure that your scenario progresses only if certain conditions are met.
In this example, you will add a filter to your scenario that allows a new project to be created from a request only if the request was submitted to a specific request queue.
This example modifies the scenario created in Create a basic scenario.
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:
Adobe Workfront package | Any |
Adobe Workfront license |
New: Standard Or Current: Work or higher |
Adobe Workfront Fusion license** |
Current: No Workfront Fusion license requirement. Or Legacy: Any |
Product |
New:
Or Current: Your organization must purchase Adobe Workfront Fusion. |
For more detail about the information in this table, see Access requirements in documentation.
For information on Adobe Workfront Fusion licenses, see Adobe Workfront Fusion licenses.
Prerequisites
You must create the scenario described in Create a basic scenario before following this procedure.
Add a filter
Prepare to add the filter
-
Open the scenario.
-
Click the first module to open it.
-
In the Outputs area, select
Project
.
You should now haveID
,Name
, andProject
selected. -
Click OK to save the module settings.
-
Open Workfront.
-
In Workfront, locate the project that represents the request queue that the Fusion scenario will be working with.
This project must be in the same Workfront account that the Fusion connection is set up for.
-
Make note of the project ID in the URL.
Example: https://<MyDomain>.my.workfront.com/project/<ProjectID>/tasks
Add and configure the filter
-
Return to the scenario in the scenario editor.
-
Click the wrench icon
-
In the Label field, enter a label for this filter, such as “Filter for request queue.”
-
In the Condition area, in the top field, map the
projectID
from the first module. -
Leave the Condition operator as Equal to.
-
In the bottom field of the Condition area, paste in the project ID that you made note of from the project URL in Prepare to add the filter.
-
Click OK to save the filter settings.
Test and activate
-
Go to the Workfront environment that Fusion is connecting to and add an issue to the project that you specified in the filter. Add another issue to a different project.
-
Click Run once in the lower-left corner of the scenario editor.
-
Examine the output to ensure that the scenario ran as expected.
Both issues should appear in the output of the first module, but only the issue in the specified project should appear as input into the second module.
-
When you are satisfied that the scenario is working as expected, click the Scheduling toggle in the lower-left of the screen to On.
This activates the scenario.
-
In Workfront Fusion, click Save near the lower-left corner to save your progress on the scenario.
IMPORTANT
Save often as you hone and test a scenario.
Resources
- For more information on filters, see Add a filter to a scenario.