Add a trigger module to a basic scenario
- Topics:
- Workfront Fusion
Trigger modules are placed at the beginning of a scenario. These modules begin a scenario execution when there has been a change in a given service. The change can be a creation of new records, deletion of a records, update of a records, and so on. You specify the criteria for the changes that begin the sceneario.
Polling modules check the service at a set time interval and return information about changes that occurred during that time interval. If there have been no changes, the trigger does not execute the scenario.
In this example, you will add a trigger module that runs every 15 minutes and starts a scenario if any requests have been submitted to a specific queue. The scenario then converts those requests to a project.
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 and configure the trigger module
Add the trigger module
-
Open the scenario in the scenario editor.
-
Right click on the first (Search) module and select Delete module.
The module is deleted, leaving a blank placeholder.
-
Click the blank module, and select Adobe Workfront from the list of apps.
-
Select Watch Record.
-
Make sure that the module uses the same connection as the rest of the modules in the scenario.
-
In the Record Type field, select Issue.
-
In the Filter field, select New Records Only.
-
In the Outputs box, select
ID
,Name
, andProject ID
. -
Click OK to save the module settings.
A Choose where to start window appears.
-
Select From now on.
Schedule the trigger module
-
Click the clock on the Watch Records module.
The Schedule setting window opens.
-
In the Run scenario field, select At regular intervals.
-
Click OK.
Update the second module
Because the first module has been replaced, the second module must be mapped to the new first module.
- Open the Convert object module.
- In the Issue ID field, delete the black ID block. The block is black because the module it was mapped from is no longer available.
- Select the ID block under the first module (Watch Records) to map it to the second module.
- Click OK.
Test and activate
-
Go to the Workfront environment that Fusion is connecting to and add an issue.
-
Click Run once in the lower-left corner of the scenario editor.
-
Examine the output to ensure that the scenario ran as expected.
-
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 trigger modules, see Trigger modules in the article Modules overview.