Please enable JavaScript to view this site.

Version:

Navigation: Activities > Activity Reference

Run Workflow Activity

Prev Top Next More

Description

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.

Usage

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.

Inputs

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.

Outputs

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.

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.

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