The Run Workflow activity runs another workflow. This activity allows you divide a workflow into smaller workflows and then reuse the smaller workflows in different contexts.
The Run Workflow activity can also run a server workflow that runs on your own server, rather than the user's device.
You could divide a workflow into smaller workflows and use a master workflow to control the logic of running the smaller, target workflows. When it runs a target workflow, the master workflow supplies the input arguments using the Arguments input. The target workflow uses the Get Workflow Inputs activity to access the inputs. If the target workflow produces outputs, it assigns them using the Set Workflow Output activity, making them available to the master workflow. When the target workflow completes, the master workflow resumes running at the next activity.
Url |
Required Type: String The URL of the workflow to run. When running a server workflow, this is the URL of the workflow item located in ArcGIS Online or Portal for ArcGIS. |
Arguments |
Optional Type: Lookup<any> The input arguments to the target workflow. The arguments must match those expected by the target workflow. Use the Get Workflow Inputs activity in the target workflow to access these arguments. |
result |
Type: Lookup<any> The target workflow's outputs. Use the Set Workflow Output activity in the target workflow to assign the outputs of the target workflow. |
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.