Server-side postprocessing in offline mode
By using an offline option in the case type settings, you can invoke or skip the server-side postprocessing of a flow action and question smart shape for offline-enabled cases. By default, the Only perform postprocessing on client check box is cleared.
This feature is useful in offline cases to help you avoid duplicate processing of a work item. For example, if you have a postprocessing activity that increments a counter property on the work page, it is invoked on the client while in offline mode, and then again on the server, when the offline-enabled application connects to the network, incrementing by two instead of one.
To avoid such issues, you can select this check box to ensure that incrementing the counter occurs only on the client and is skipped on the server. You can leave this check box cleared if you have data, such as a date and time stamp, that is first populated on the client in offline mode but can also be safely overridden on the server with the latest value.
When this check box in the case type settings is selected, the server-side postprocessing activities of a flow action and question smart shape are invoked. If the check box is cleared, the server-side postprocessing activities are not invoked.
- Enabling offline support for case types
You can work on assignments and create cases while your device is offline. By enabling offline support for a case type, you allow case workers to move cases closer to resolution while your application is disconnected from the network.
- Requirements for surveys in offline mode
Your application can support survey functionality when a user is offline. Verify that you meet the following requirements when you plan to ask questions and collect answers in offline mode.