Run Operation Activity

Description

The Run Operation activity executes an operation in a VertiGIS Studio viewer application like VertiGIS Studio Web or VertiGIS Studio Mobile.

Operations are similar to activities. They perform a unit of work in an application. Depending on the operation specified, an input parameter may be required and the operations may produce an output result value.

See the following for a complete list of operations and their parameters:

Usage

A workflow could use the Run Operation activity to invoke the sketching.capture-geometry operation in a viewer. This operation allows the end user to draw a geometry on a map. Set the Operation Name input to sketching.capture-geometry. Set the Operation Parameter input to an expression that provides an object that specifies the desired drawing type. For example, ={ "geometryType": "point" }, ={ "geometryType": "polyline" } or ={ "geometryType": "polygon" }. When the user completes drawing a geometry the operation will complete. The operation's resulting geometry value will be assigned to the result output of the activity and the activity will complete.

Inputs

Operation Name

Required

Type: String

The name of the operation to invoke.

See the following for a complete list of operations and their parameters:

Operation Parameter

Optional

Type: any

The parameter to pass to the operation.

The type of parameter value and whether it is required depends on the operation.

Outputs

result

Type: any

The result of the operation.

The type of result value and whether it is provided depends on the operation.

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.

See also...