Run Geoprocessing (asynchronous) Activity

Description

Execute a geoprocessing task asynchronously using ArcGIS geoprocessing services.

Offline Support

This activity does not work when the device is offline.

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.

* Geocortex Workflow uses different versions of Esri's ArcGIS API for JavaScript depending on the type of application. Web AppBuilder 2D apps and Geocortex HTML5 viewers use version 3.x of the JavaScript API. Web AppBuilder 3D apps use version 4.x.

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.

* Geocortex Workflow uses different versions of Esri's ArcGIS API for JavaScript depending on the type of application. Web AppBuilder 2D apps and Geocortex HTML5 viewers use version 3.x of the JavaScript API. Web AppBuilder 3D apps use version 4.x.

Properties

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

Version Information

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

© 2018 Latitude Geographics Group Ltd. All Rights Reserved.

Documentation Version 5.9