|The capabilities described on this page are included in Appian's advanced and premium capability tiers. Usage limits may apply.
Offline mobile forms in Appian are powerful, allowing you to design forms with cascading dropdown lists, wizards, validations, conditional content, and more. In order to make this possible, we created a new offline evaluator that can reevaluate forms without being connected to the server.
This page contains:
Generally, when the user accesses a form, it just pulls the data needed from the server in order to display the interface. However, when a user is offline, forms can't communicate with the server to get this information.
In order to create a consistent user experience, offline-enabled forms work the same whether the user is offline or online. When you enable a form for offline use, you are changing the way that the form communicates with the server. Instead of being able to talk to the server whenever it wants, it only talks to the server when a form is first loaded and caches the data on the device. After that, it assumes the server isn't there, even if the user is online.
When an offline form is submitted, it always goes to the Pending Forms list in the Appian Mobile menu . If the device is online when the form is submitted, it is sent from Pending Forms to the server right away. If the device is offline, it remains in Pending Forms until the device goes back online. Once online, the form submits automatically.
While online, users can sync their offline-enabled actions and tasks to make sure they are using the most up-to-date forms, processes, and data. Users will need to remain online long enough for the data to sync successfully. The amount of time required will depend on the strength of the device connectivity and the amount of data being synced.
Offline actions and tasks can sync on a user's device in several ways:
To ensure users are getting the most up-to-date data, they should be coached about how to use offline forms.
The most important steps that users should be aware of are:
When the user does this, the most recent data is cached on the device so the form can be loaded when they are offline.
If the user is offline when they submit the form, it will queue the form for submission. The user can access the form in the navigation menu under Pending Forms. After they go back online, the form is submitted automatically.
If they are online when they submit the form, the form submits right away.
The following diagram shows how offline mobile forms are evaluated.
|Initial evaluation on the server
|When the user pulls down to refresh the interface, the data that is loaded at the beginning of the interface expression is downloaded and cached onto the mobile device.
|Whether the user is offline or online, they enter information into the form using the mobile device.
|The data on the form reevaluates based on the user input. The user does not need to be online for this reevaluation to occur. Only Compatible and Partially Compatible functions in the Appian functions table are supported in Offline Forms. If you need to use Partially Compatible functions, you will need to load them at the top of the interface expression.
|User input stored
|The user input is stored on the device. If the user is offline, their form goes into a pending state.
|When the user has an online connection, the form is submitted. The server replays all user interactions to ensure consistency, then moves to the next node in the process model, such as write to data store entity.
How Offline Mobile Works