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.
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.
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. |
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. |
For information about the ID, Display Name, and Description properties, see Properties Common to all Activities.
This activity works when the device has intermittent connectivity to the network.
Supported from: Geocortex Viewer for HTML5 2.9, ArcGIS Web AppBuilder 2.4.
See also...