Subworkflow Activity

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

This activity has no inputs.

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.

Supported Environments

Environments capable of running this activity

Server

 

Client

Web

Mobile

Experience Builder

Web AppBuilder

Geocortex Viewer for HTML5

Levels of Support:      Full Support      Partial Support      No Support

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