Types of Run

abstract Flowcharts can be run at the Path, Flowchart or Project level.

Path Run

  1. Open a Flowchart
  2. Click on any node and click on Automate
  3. Click Run at the top right.
  4. This brings up the Run dialog.
  5. Set the Browser, Start URL etc.
  6. You can check any combination of:
    • Run Normal Path
    • Run Positive Validations
    • Run Negative Validations
Depending on what you chose, multiple browsers may open up and execute the flows.

Flowchart Run

  1. Open a Flowchart
  2. Click on Run button at the top.
  3. The rest is similar to Path Run.

Path Execution Order

The execution order of paths in a flowchart is automatically decided by Flowcharts.
This is mostly the natural order in which the paths were added to the flowchart.
However, if you wish to change the order, you can do it as follows:

  1. Click on the dropdown arrow to the right of Run button and choose Execution Order
  2. This shows the paths in a tabular format.
  3. Each row has a draggable handle at the left. Drag and drop to re-order the paths.
  4. When a flowchart is run, the paths will be triggered in the specified order.

Depends - Path Dependency

If more control is needed, we can use Path Dependency.
  1. On the Execution Order dialog, Click on "Depends On" near a path (path 2).
  2. Choose the other path that it depends on (path 1).
  3. Click Save.
  4. In this case, Path 2 will execute only if Path 1 has executed and has passed. Else Path 2 will be skipped.
    For example, we don't want to run other flows which depend on a successful product creation, if product creation itself is failing.
    This will save build time and give faster feedback.

Project Run

  1. Open a Project
  2. Click on Run button at the top right.
  3. The rest is similar to Path Run and Flowchart Run.

Flowchart Execution Order

The execution order of flowchart in a project is automatically decided by Flowcharts.
This is mostly the natural order in which the flowcharts were created in the project.
However, if you wish to change the order, you can do it as follows:

  1. Click on the dropdown arrow to the right of Run button and choose Execution Order
  2. This shows the flowcharts in a tabular format.
  3. Each row has a draggable handle at the left. Drag and drop to re-order the paths.
When a project is run, the flowcharts will be triggered in the specified order.