Remove Application Data Activity

Description

This activity removes the data and it's unique key set by the Set Application Data activity. The data set by the Set Application Data activity persists until the application reloads, closes or you remove it using this activity.

Usage

In a workflow you could set application data several times using the Set Application Data activity. If a user decides to not complete the workflow, the data may be incomplete and you may want to clean up the incomplete data so it is not used by other workflows. When a user chooses to cancel you could use the Remove Application Data activity to clear the incomplete data from the application.

Inputs

Key

Required

Type: String

The unique identifier of the data to remove.

Visibility

Optional

Type: "memory" | "application" | "global" | String

Where the data should be removed from. This must match the value used when the value was written using the Set Application Data activity. The default value is "memory".

Outputs

removed

Type: Boolean

Whether or not the specified key was removed.

This output will return false if the key doesn't exist, otherwise it will return true.

Note that removed will be true if the key existed and the value was Null.

Properties

For information about the ID, Display Name, and Description properties, see Properties Common to all Activities.

Connectivity Requirements

This activity works when the device has intermittent connectivity to the network.

Version Information

Supported from: Geocortex Viewer for HTML5 2.9, ArcGIS Web AppBuilder 2.4.