The Axsy Mobile App's Flow Engine supports a custom Axsy Apex Action for waiting between steps in a Flow.

This Element can be added to a Flow as with any other Element.


Figure 1 - Adding Wait Element to a Flow


Example

In this example, in order to sync new records that are created after a Smart Form has been submitted - such as Assessment Question Responses, or Regulatory Code Violations - a Sync is performed. As the creation of these records are handled by the Salesforce Platform, there may be some delay between the Form submission, and record creation. Therefore, as shown in Figure 2, a Wait element can be added to ensure that the records are created before attempting to sync them back to the Axsy Mobile App.


Figure 2 - Example Wait Element in Flow