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.

* Geocortex 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.

* Geocortex 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.

Supported Environments

Environments capable of running this activity

Server

 

Client

Geocortex Web

Geocortex Mobile

Geocortex Viewer for HTML5

Web AppBuilder

Offline Support

This activity does not work when the device is offline.

Version Information

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

© 2019 Latitude Geographics Group Ltd. All Rights Reserved.

Documentation Version 5.15