You can add a Service Flow that runs concurrently with any other Flow in Interact. Running concurrently means that the Service Flow executes simultaneously and independently of the calling Flow.

Because a Concurrent Flow executes asynchronously, it can be called at any convenient location in the calling Flow. In general, you add a Concurrent Flow at a location where the results of any processing it performs will be ready by the time the calling Flow needs them.

The results of a Concurrent Flow are available to the calling Flow as well as any other called Flows.

The following shows an example Concurrent Flow on the Flow Map. The dotted line points to the specific Service Flow that will be executed:

You can add a Concurrent Flow step when building or editing any type of Flow, using the Concurrent Flow navigation logic step, indicated on the Flow Map by the icon.

  1. From the Flow Map, right-click anywhere on the map and select Add a Step or click on any step that does not have a next step. The Navigation Logic options menu will appear.
  2. Hover the mouse over Navigation Logic, and click Concurrent Flow. The Concurrent Flow editor is displayed:

  3. In the Concurrent Flow Name field, enter a unique name for the Concurrent Flow step element.
  4. From the Select a Service Flow dropdown menu, select the Service Flow that will be executed at this point in the calling Flow.
  5. To the right of the Flow name, select or create the Custom Type variable that will be used to store Service Flow data at runtime.
    Note: This field accepts only a ServiceFlow Custom Type variable. For more information, see Using Service Flow Custom Types.
  6. The Input Variables Mapping area assigns the System Variables that will be shared between the calling Flow and the selected Concurrent Flow. When needed, you can remove an automatically-mapped value or replace a value with a hard-coded value or a different System Variable:
    1. Click on the icon to open the System Variables list.
    2. Optionally, deselect System Variables that should not be mapped as Input. By default, all variables are selected for mapping.
    3. Locate any variable that you want to change. On the right side of the list, enter a new value, enter '@' to select an existing System variable, or create a new User variable that will be used to supply the input value at runtime.
  7. Click Create Concurrent Flow. The Concurrent Flow step is added to the Flow Map.

To check the processing status of the Concurrent Flow, as well as retrieve and use any data that is produced by the Flow, use a Wait Point.