Run a Flow

Intelligent Advisor Flows was only made available to select customers, and will not be made Generally Available.

You can run a flow in a browser to immediately test your flow inside whatever you have configured as your custom runtime test harness.

If your custom runtime test harness has the flow debugger widget enabled, you will be able to use the flow debugger to understand the rule logic that is being applied at point of use.

Run a flow in a browser

To run a flow in a browser:

  1. Ensure that debugging is enabled in your flow scheme. To do this:

    1. Open the flow scheme for the flow.

    2. On the General tab, in the Debug URL field, enter the URL of the custom runtime test harness.

  2. Ensure that Intelligent Advisor Hub allows cross origin requests from the testing site.

  3. Open the flow project.

  4. In the project header, click the Run button. The flow opens in a new browser window for testing.

Tip: You can use the Flow Rendering Example to see a walkthrough of how to configure a locally running server that you can then configure as the test URL of the flow scheme.

Run a flow in a Visual Builder application using the flow debugger

To run a flow in a Visual Builder application using the flow debugger:

  1. In your Visual Builder application, enable debug mode. To do this:

    1. Open the Web Applications tab in the Navigator.

    2. Select the page where the Intelligent Advisor flow is embedded.

    3. On the canvas or in the Page Structure view, select the Intelligent Advisor Flow component.

    4. In the right-hand Properties pane, select the General tab.

    5. Select the Debug Mode checkbox.

      The Properties pane for the Intelligent Advisor Flow component in Visual Builder showing the Debug Mode checkbox selected

  2. In Intelligent Advisor Hub:

    1. Ensure that debugging is enabled. To do this:

      1. Open the flow scheme for the flow. This should be the Example Flow Scheme that supports the Intelligent Advisor Flow component.

      2. On the General tab, in the Debug URL field, enter a URL in this format:

        • https://<Visual_Builder_instance>/ic/builder/rt/<Application_Name>/<version number>/webApps/intelligentadvisorapp/?page=shell&shell=assessment&assessment=debugger

    2. Ensure that Intelligent Advisor Hub allows cross origin requests from the testing site.

    3. Run the flow. To do this:

      1. Open the flow project.

      2. In the project header, click the Run button. The flow opens in a new browser window for testing.

    Note that the debug functionality uses a separate page, debugger, in the Visual Builder web application (not the assessment-detail page), therefore any customizations to the assessment-detail page, such as custom controls, will not be rendered when debugging or will need to also be added to the debugger page.