Debug a scenario
The Adobe Workfront Fusion Devtool helps you to understand and troubleshoot scenarios. Using the Devtool, you can check all the manual runs of your scenario, review all the performed operations, and see the details of every API call performed. You can see which module, operation, or single response caused the error, and use that knowledge to refine your scenario.
For a video introduction and walkthrough of the Fusion Devtool, see
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 4-row-2 layout-auto html-authored no-header | |
---|---|
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. |
Access level configurations* |
You must be a Workfront Fusion administrator for your organization. You must be a Workfront Fusion administrator for your team. |
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.
Access the Devtool
If you use Fusion in the Adobe Unified Shell, or have updated to the new Fusion experience, you can access the Devtool from the Scenario editor.
- Click the Helper tools
Or:
-
Go to the Scenario editor for the scenario you want to debug.
To locate the Scenario editor, see The scenario editor.
-
Right click in an empty area of the page (not on a module).
-
Select Open Devtool.
Use the Workfront Fusion Devtool
Workfront Fusion Devtool is divided into 3 main sections. You can find these in the left panel of your Devtool window.
Live Stream
Live Stream displays what is happening in the background when you click Run once in your scenario.
-
Click the Live Stream icon
-
Do any of the following:
table 0-row-2 1-row-2 2-row-2 3-row-2 4-row-2 layout-auto Action Instructions View request information You can view the following information for each module in your scenario
-
Request Headers (API endpoint URL, http method, time and date the request was called, request headers, and query string)
-
Request Body
-
Response Headers
-
Response Body
To view this information, click the appropriate tab in the right panel of the Workfront Fusion Devtool.
Search events by content Enter the search term into the search field in the left panel of the Workfront Fusion Devtool to display only requests that contain the search term. Clear list of requests Click the trash bin icon in the top-right corner of the Devtool's left panel to clear the list of requests recorded by the Workfront Fusion Devtool. Retrieve the Request in the Raw JSON Format or cURL -
Raw JSON
Click Copy RAW in the upper-right corner of the Devtool's right pane.
-
cURL
Click Copy cURL in the upper-right corner of the Devtool's right pane.
-
Scenario Debugger
The Scenario Debugger is useful for more complex scenarios. It displays the history of the scenario runs and enables you to search modules by their name or ID.
- Click the Scenario Debugger icon
- (Optional) Enter the search term (name or module ID) in the search field.
- Click the module name.
- Click the operation to view request details.
Tools
The Workfront Fusion Devtool features tools that make setting up your scenario easier.
- Click the Tools icon
- Select the tool you want to use
- Configure the fields as detailed below.
- Click Run.
Tools and their fields:
Focus a Module
Opens settings of the specified module by ID.
Find Modules by Mapping
Allows you to search modules’ values for a specified term. The output contains IDs of modules that contain the term you have searched for.
Get App Metadata
Retrieves metadata of the app by the app’s module name or ID. This is useful, for example, when you need to know the version of the app used in your scenario.
Copy Mapping
Copies values from the source module to the target module.
Copy Filter
Copies the filter settings from the source module to the target module.
Copy Module Name
Copies the name of the selected module to your clipboard.
Swap Connection
Duplicates a connection from the source module to every module in the scenario of the same app.
Swap Variable
Searches for specified variables in the scenario and replaces them with a new variable.
Base 64
Allows you to encode the entered data to Base64 or to decode Base64. Some requests are encoded to Base64. This tool can be useful when you want to search for particular data in the encoded request.
Remap Source
Allows you to change the mapping source from one module to another.
You must first add the module you want to use as a source module to the route in your scenario.