Host Workflows in Web AppBuilder for ArcGIS

Web AppBuilder can host workflows that do not take inputs or that take design-time inputs.

Web AppBuilder does not support run-time inputs.

For more information about inputs, see Workflow Inputs.

To configure a Web AppBuilder app to run a workflow, you add one of the Workflow widgets to the app and configure the widget by specifying the workflow to run and any design-time inputs that the workflow takes.

Configure Web AppBuilder to Host a Workflow

This procedure assumes that you have already registered the Geocortex Workflow custom widgets that allow you to host and run workflows from Web AppBuilder apps. See Register the Geocortex Workflow Custom Widgets for information.

To configure a Web AppBuilder app to host a workflow:

  1. In Web AppBuilder, configure the app that will run the workflow.

  2. Add the widget: Open the Widget panel, click Set the widgets in this controller, and then click the icon to add widgets . Select the desired widget and click OK.

    The widget called Workflow uses the side panel to display information related to the running workflow. The widget called Workflow Modal uses a modal window.

    Although Geocortex Workflow has four widgets, Web AppBuilder only shows two widgets. When you configure a 2D app, Web AppBuilder shows the 2D widgets. When you configure a 3D app, Web AppBuilder shows the 3D widgets.

    Workflow widgets

  3. Click Choose Workflow.

    Location of Choose Workflow button

  4. Select a tab that lists the workflow.

    If you created the workflow, it will be listed on the My Content tab. If the workflow is shared with you, it will be in My Groups, My Organization, and/or Public, depending on how it is shared.

  5. Locate the workflow by searching or browsing, select the workflow, and click OK.

  6. If the workflow takes one or more inputs:

    1. Click Add Parameter.

    2. In the Parameter Name column, type the name that you use to access the input in the workflow.

    3. In the Parameter Value column, type the input's value.

      The value must be a string. You do not need to use quotes around the string.

    Example of a widget configured to run a workflow that takes an input called "distance"

  7. Click OK.

  8. Save the app.

© 2019 Latitude Geographics Group Ltd. All Rights Reserved.

Documentation Version 5.11