Please enable JavaScript to view this site.

Version:

Navigation: Activities > Activity Reference

Subworkflow Activity

Prev Top Next More

Description

This is a special type of activity. You do not run it by connecting other activities to it. Instead, you use the Run Subworkflow activity to run it.

You can then set the result that is returned to the Run Subworkflow activity. This is similar to the idea of a function call.

Usage

You could have a Subworkflow activity that contains validation logic that is relevant to several form elements. Then, in each element's validate event handler, you could use the Run Subworkflow activity to run it.

You can also call a Subworkflow from the Set Form Element Event activity, although no arguments or result can be used in such cases.

Inputs

Arguments Type

Optional

Type: String

The type of the arguments to be supplied to the Subworkflow. This can be a known type such as esri.Point or a TypeScript interface such as { id: number; name: string; location: esri.Point; }This will be used in the Designer to offer suggestions when you use the arguments in an expression.

Result Type

Optional

Type: String

The type of the result. This can be a known type such as esri.Point or a TypeScript interface such as { id: number; name: string; location: esri.Point; }This will be used in the Designer to offer suggestions when you use the result of the Run Subworkflow activity that runs this Subworkflow.

Outputs

arguments

Type: Object

The input arguments to the subworkflow. This will only be populated if the subworkflow is called by a Run Subworkflow activity.

setResult

Type: Object

A function to set the result of the subworkflow which will be returned to the Run Subworkflow activity that called the Subworkflow activity.

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.

Version Information

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

See also...

Run Subworkflow Activity

© 2024 VertiGIS North America Ltd. All Rights Reserved. | Privacy Center | Imprint
Documentation Version 5.42 (220a4365)