Available in: Axsy Retail Execution, Axsy Public Sector


The Axsy Mobile App allows users to create new Visits for themselves while online. In this way, Visits can be created on the spot without needing to be scheduled beforehand.


How to Create a Visit In-App

  1. Tap the three horizontal dots at the top right-hand corner of either the Visits list screen or a Visit record screen to access the Action Menu.

  2. Select the Create Visit action.
  3. Enter values for the fields for the Visit and then select Save.

    Please see this article for more information on how to to configure which fields are displayed to the user when creating a Visit: Visit Settings

  4. Once Save has been selected, a countdown will start to allow the Visit tasks and KPIs/Inspection Indicators to be created on the Salesforce Platform if the user is online. Once the countdown is completed, the Axsy Mobile App will sync any available Visit tasks and KPIs/Inspection Indicators from Salesforce.



NOTES: 
  • If no Tasks are synced to the app, the message 'No Tasks found' will be displayed
  • If no Assessment Tasks with associated KPIs are included in the Action Plan Template synced to the app, the message 'No KPIs found' will be displayed
  • You can manually set the timer length in the Axsy Config Tool to accommodate larger volumes of task records. For more information, please see this article: Visit Settings


Offline In-App Visits

  • When offline, creating a Visit is still possible.
  • The 'Action Plan Template Versions' needs to be added to the 'Action Plan Template' record set in the Axsy Sync Configuration UI for the Axsy Mobile App User to select the Action Plan Templates offline.


  • Associating an available Action Plan Template to the Visit will not generate any Visit KPIs/Indicators until the user is back online, as the Visit KPI/Indicator creation process is run on the Salesforce Platform.
  • In-App Visits remain only partially generated while the user remains offline. 
  • An In-App Visit is completely generated in the Axsy Mobile App when the user goes back online to allow the Salesforce platform to complete the Visit creation process along with relevant ActionPlan, KPIs/Indicators generation and Sync them back to Axsy Mobile App.



Assigning An Action Plan Template Post-Visit-Creation

In some scenarios, a previously created Visit - whether that Visit was created in-app or on the Salesforce Platform - may not be initially assigned an Action Plan Template. If those instances, it is possible to assign an Action Plan Template after-the-fact from within the Axsy Mobile App.


While there is no pre-defined, out-of-the-box action in the Axsy Mobile App for assigning an Action Plan Template post-Visit-creation, a Screen Flow can be created for this purpose:

  • The Flow needs to create an Action Plan record.
  • For the above Action Plan record, the Flow should set the appropriate Action Plan Template Version ID field. This could be hard-coded in the Flow, something selected by the mobile user, or something that is dynamically determined based on other Visit information.
  • For the above Action Plan record, the Flow should set the Target Record ID field to the ID of the Visit.
  • The Action Plan Type field for for the Action Plan should be set to "Assessment Execution".
  • Populate other fields for the Action Plan record, as applicable.


When the above Action Plan is synced to the Salesforce Platform, the applicable Assessment Tasks and KPIs/Inspection Indicators will be generated on-platform - they are not created in-app. As such, while the Flow that creates the Action Plan record can be run whilst offline, the Assessment Tasks and KPIs/Inspection Indicators will not be available in-app until the user is online and has synced those records created on-platform.