The scope, design and UI for this feature should not be considered final until the feature is made generally available as part of an official release. The scope, design and UI may change right up until general availability. This article will be updated accordingly to reflect any changes to the feature.
The Axsy Field Service Mobile App supports a Flow Diagnostics mode which allows your administrators and your operations team to troubleshoot how flows are run and executed in the Axsy app.
Enabling Flow Diagnostics Mode
To enable Flow Diagnostics in the Axsy app:
- Open the main menu.
- Select the cog icon to open Settings.
- Select Advanced Settings.
- Enable the toggle for Flow Diagnostics.
Advanced Settings will need to be enabled for a user in the Axsy Config for this option to be available in the Axsy app.
Viewing Flow Diagnostics
Once enabled, a hammer icon will be available wherever flows are executed in the app:
- For Screen Flows and Field Service Mobile Extension Flows, the hammer icon will appear in the top-right of the flow window.
- For Dashboards, the hammer icon will appear in the title bar for each widget.
Red hammer icon at the top-right of the Screen Flow window
Selecting the hammer icon will bring up a diagnostics window for the flow showing details like results of actions, decisions and queries to the local app database.
The contents of the diagnostics can then be copied to the device clipboard by using the copy icon at the top-right of the diagnostics window.
Advanced Flow Diagnostics
Once Flow Diagnostics is enabled under Advanced Settings, an additional setting to further enable advanced flow diagnostics will be displayed. The additional toggle enables the ability – when the user is online – to view and compare the results of offline queries in the local app database, against the same queries conducted online on the Salesforce Platform.
Due to the additional queries, enabling Advanced Flow Diagnostics can slow down the performance of the Axsy app during Flow execution.
Differences Between Salesforce Flow Debugger
Please note the following differences between Axsy's Flow Diagnostics Mode and Salesforce's Flow Debugger:
- Axsy's Flow Diagnostics Mode still runs the Flow as normal and any performed actions, including any update and create operations and changes, are committed to the Axsy app and Salesforce.
- Rollback mode is not supported.
- Flow input variables cannot be entered manually and are automatically set at the start of the flow, such as when a flow is started from a Flow Task, Lightning Action or from an Axsy Dashboard.
- The flow version that is run is always the active version of the flow included in the latest published Axsy Config Version that was synced by the user at login.