The Axsy Mobile App's Flow Engine supports a custom Axsy Element for Checking Connectivity, allowing users to check if they are online so they can Sync Records or trigger an Apex Action from a Flow.



Adding the 'Check Connectivity' Element to a Flow

Included in Axsy's Managed Package is a custom 'Check Connectivity' Flow Element. It is accessible in the Salesforce Flow Designer and can be added to the Flow Builder.


Figure 1 - Add 'Check Connectivity' Element to Flow



This Element will output a boolean value called 'Connected'. This can be chained with a decision element to perform different actions based on whether the User is online or not. This is especially useful for triggering actions that can only be used online such as Apex Actions or Syncing Records between the Axsy Mobile and Salesforce.


Figure 2 - Is Online Decision Element