Run Geoprocessing (asynchronous) Activity

Description

Execute a geoprocessing task asynchronously using ArcGIS geoprocessing services.

Inputs

Url

Required

Type: String

The URL of the ArcGIS Server Geoprocessing service task.

For example, http://server/arcgis/rest/services/<serviceName>/GPServer/<taskName>.

Arguments

Required

Type: Lookup<any>

The input arguments accepted by the geoprocessing task.

These input parameters are listed in the parameters field of the associated GP task resource.

Out Spatial Reference

Optional

Type: Number | String | esri.SpatialReference (3.x, 4.x)*

The spatial reference of the output geometries.

If not specified, the output geometries are in the spatial reference of the input geometries.

If processSpatialReference is specified and outputSpatialReference is not specified, the output geometries' spatial reference is processSpatialReference.

Process Spatial Reference

Optional

Type: Number | String | esri.SpatialReference (3.x, 4.x)*

The spatial reference that the model uses to perform geometry operations.

If processSpatialReference is specified while outputSpatialReference is not, the output geometries' spatial reference is processSpatialReference.

* VertiGIS Studio Workflow uses different versions of Esri's ArcGIS API for JavaScript depending on the type of host application. See Underlying Technologies for information.

Outputs

id

Required

Type: String

The ID of the geoprocessing job.

status

Required

Type: String

The status of the geoprocessing job.

messages

Type: esri.GPMessage[] (3.x, 4.x)*

The messages from the geoprocessing job.

results

Type: Lookup<any>

The results of the geoprocessing job.

* VertiGIS Studio Workflow uses different versions of Esri's ArcGIS API for JavaScript depending on the type of host application. See Underlying Technologies for information.

Properties

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

Connectivity Requirements

This activity does not work when the device has intermittent connectivity to the network.

Version Information

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