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 post-processing 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.

Note: 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.