Running a Flow from a URL
  • 17 Feb 2020
  • 1 Minute to read
  • Dark
    Light
  This documentation version is deprecated, please click here for the latest version.

Running a Flow from a URL

  • Dark
    Light

Article summary

Overview

It is possible to run a flow, either as a service or by showing forms and Decisions user interface in a web browser, just by accessing its URL. This URL can be used to allow the execution of the workflow from a browser or as a service.

This document illustrates how to use Integration Details for a flow in Decisions. The Integration Details page allows different ways to integrate with the selected designer element.

Example

In this example, generate a URL to run a flow, either as a service or by rendering UI, using a URL inside a web browser.

Navigate to the Integration Details on a flow. Right-click any flow and navigate to Run[Advanced] > Integration > View Integration Details. This will bring up the Integration Details page for the workflow. This page will build a URL based on the settings.

IntegrationDetails-1.png

A series of options will be shown to configure the URL you are generating.

Configuration OptionSummary
Run AsChoose to create a URL to call the flow as a REST service, or to have any UI/Forms show in a web browser.
CredentialOption to choose user authentication type.
Refer Flow ByURL to use either Folder Id, Path, or Alias to the Flow.
Rest DataThis option is only shown if you selected Run As: Service, and will return the results of a flow in the selected format.
Display SettingsThis option is only showing if you select "UI/Form". Here, you can set some display choices for how the UI will be shown in the browser, such as centering the form on the page or making it fill the entire browser.

Once the settings are configured select Show Service API.

2018-01-15_115243-1024x7691.png

Finally, because the Flow may have Forms and User Interface, there's an option to Run Flow As UI/Form. With this option selected the System generates a UI Code link to run the Flow. Select Generate UI Code.

This URL can be copied into any web browser to run the workflow.

2018-01-15_115444-1-1024x7691.png



Was this article helpful?