Run Operation Activity


The Run Operation activity executes an operation in a Geocortex viewer application like the Geocortex Mobile Viewer or Geocortex Web Viewer.

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.


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


Operation Name


Type: String

The name of the operation to invoke.

Operation Parameter


Type: any

The parameter to pass to the operation.

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



Type: any

The result of the operation.

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


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

Supported Environments

Environments capable of running this activity




Geocortex Web

Geocortex Mobile

Geocortex Viewer for HTML5

Web AppBuilder

Offline Support

This activity works when the device is offline.

© 2019 Latitude Geographics Group Ltd. All Rights Reserved.

Documentation Version 5.15