Run Workflows in Geocortex Mobile

To configure a Geocortex Mobile app to host a workflow, you configure a menu item, such as an I Want To or Feature Actions menu item, that runs the specified workflow using the command.

The procedure below shows how to add an I Want To menu item that runs a workflow. For instructions on adding items to the Feature Actions menu, refer to the Geocortex Mobile Designer Help.

To configure a Geocortex Mobile app to run a workflow from the I Want To menu:

  1. In Geocortex Mobile Designer, select I Want To Menu in the Configure Components panel () and then click Add Menu Item ().

  2. In the Title box, type the text that you want to appear as an item in the I Want To menu, for example, Inspect Hydrants.

  3. Click Select Icon and choose an icon to show beside the menu item's text, for example, .

  4. In the Command box, start typing the name of the workflow that you want the app to host.

    A list of the workflows with matching names displays.

  5. Select the workflow from the list.

    The JSON for a command displays. The JSON has the required arguments for the selected workflow, with the exception of any inputs.

  6. If the workflow takes inputs, type the inputs into the inputs property in the command's JSON.

    The input keys must match the input names used in the workflow.

    Example workflow inputs specified in the command's JSON

  7. If you want to hide the menu item completely when it is not available, rather than having it grayed out, turn on Hide when Disabled.

    Menu items are unavailable when the app is in a state that prohibits the item's command from running.

  8. Press Ctrl+S on your keyboard or click File | Save to save the app.

  9. Run the app.

    Example GXM app running in Geocortex Go

  10. Click I Want To. If necessary, click Refresh App () to show the new menu item ().

  11. Click the item in the I Want To menu () to run the workflow ().

© 2019 Latitude Geographics Group Ltd. All Rights Reserved.

Documentation Version 5.10