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.
| table 0-row-2 1-row-2 2-row-2 3-row-2 4-row-2 5-row-2 6-row-2 7-row-2 | |
|---|---|
| Tool | Where to find it in the new experience |
| Get app metadata | Right-click a module and select App metadata. |
| Copy mapping | Right-click the source module, select Copy mapping, then paste it on a compatible module. |
| Copy filter | Right-click the filtered link, select Copy filter, then paste it on another link. |
| Copy module name | Right-click a module and select Copy module name or Paste module name. |
| Swap connection | Open Find and replace, then use the Connection tab. |
| Swap variable | Open Find and replace, then use the Variable tab. |
| Remap source | Open Find and replace, then use the Source tab. |
base64() and binary-conversion functions in mappings.For a video introduction and walkthrough of the Fusion Devtool, see
Access requirements
| table 0-row-2 1-row-2 2-row-2 layout-auto html-authored no-header | |
|---|---|
| Adobe Workfront package |
Any Adobe Workfront Workflow package and any Adobe Workfront Automation and Integration package Workfront Ultimate Workfront Prime and Select packages, with an additional purchase of Workfront Fusion. |
| Adobe Workfront licenses |
Standard Work or higher |
| Product | If your organization has a Select or Prime Workfront package that does not include Workfront Automation and Integration, your organization must purchase Adobe Workfront Fusion. |
For more detail about the information in this table, see Access requirements in documentation.
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.
Access the Devtool in the new experience
-
Go to the Scenario editor for the scenario you want to debug.
To locate the Scenario editor, see The scenario editor.
-
Click the three-dot icon in the Controls area, then select DevTool.
Or:
- Go to the Scenario editor for the scenario you want to debug.
- Right-click in an empty area of the page (not on a module).
- Select Open Devtool.
The DevTool opens in a panel below the canvas.
Access the Devtool in the classic experience
- Click the Helper tools
icon near the bottom of the screen.
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, plus a help link. You can find these in the left panel of your Devtool window.
- Live Stream
- Scenario Debugger
- Tools
- DevTool help: Click the question mark icon to open the article about the DevTool.
Live Stream
Live Stream displays what is happening in the background when you click Run once in your scenario.
-
Click the Live Stream icon
to open the Live Stream section.
-
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
to open the Scenario Debugger.
The Scenario Debugger lists the modules in your scenario. Each module shows its name, the app and action, and a numbered badge with the module ID.
-
(Optional) Enter the search term (name or module ID) in the Search modules by Name or ID field.
-
Click the module name.
The cycles of the module’s most recent run are listed next to the module list. If the module has no run data, the Scenario Debugger displays No Result found.
-
Expand a cycle, then click an operation.
Each operation shows whether it succeeded and how long it took, for example Operation 1 with a duration of 0 ms.
-
Review the details of the request. Use the tabs to view:
- Request Headers: The API endpoint URL, the HTTP method, when the request was called, and the request headers.
- Request Body
- Response Headers
- Response Body
-
(Optional) To copy the request, click Copy RAW or Copy cURL.
Tools
The Workfront Fusion Devtool features tools that make setting up your scenario easier.
- Click the Tools icon
to open the Tools.
- (Optional) To find a tool, enter its name in the Search tool by name field.
- Select the tool you want to use
- Configure the fields as detailed below.
- Click Run.
Until you select a tool, the right side of the panel prompts you to select one. A link at the bottom of the Tools tab takes you to the article about the DevTool.
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.