Close popover

Table of Contents

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.

Client-side behavior

When this check box in the case type settings is selected, the client-side postprocessing is invoked, but the data is not posted to the server during synchronization. If the check box is cleared, the client JavaScript postprocessing is invoked and data is posted to the server during synchronization.

Server-side behavior

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.

There is no change in the postprocessing behavior for a connector on the client or on the server, whether this check box is selected or cleared.

  • 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.

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.