This documentation supports the 21.05 version of BMC Helix Innovation Studio.To view an earlier version, select the version from the Product version menu.

Creating and controlling process flows


You can connect two elements in a process to provide a flow to the process tasks. You can also control the execution of process flow such as separate or combine the flow according to the business requirement. 

To connect elements in a process, the sequence flow element is used. The sequence flow element can have only one source and one target and is represented with a solid arrow. This element is not a part of the Process designer Palette section. To control the execution of a process flow, the Gateway element is used. The Gateway element is a part of the Process designer palette. 

This topic explains the types of gateways with examples and gives the procedure to connect the elements in process and to control the process flow.

Types of Gateways

Gateway

Description

Example

Parallel

A Parallel gateway element models concurrency in a process. It is used to visualize concurrent execution of activities. It forks into multiple paths of execution or joins multiple incoming paths of an execution.

Important: Make sure you always use a parallel gateway in a pair. All the execution paths that begin from a parallel gateway must end with a parallel gateway. This ensures that the parallelly processing paths wait for each other at the parallel gateway before executing the next action. 

1802_Parallel  gateway and sequence flow  example.png

Exclusive

An Exclusive gateway element models a decision in the process, and the conditions on exit paths.

When the process execution arrives at an Exclusive gateway element, the system evaluates the conditions that you define in the outgoing Sequence Flow element of all flows. The system evaluates the conditions in the order in which they are defined and selects a flow to execute depending on whether a condition evaluates to true or a condition is not defined.

1802_Exclusive gateway and sequence flow  example.png

Limitation of the Exclusive gateway

You can use Exclusive gateway element to create loops in processes, only if the loop runs for less that 15 iterations.

If you want to use the Exclusive gateway element to create loops that runs for more than 15 iterations, modify the existing loop by performing the following steps:

  1. Define a local process variable to maintain the iteration count.
  2. Within the loop created by using the Exclusive gateway element, increment the local process variable (iteration counter) for every iteration.
  3. If the iteration counter is greater than 15, the Compute Value element (Reset Count) resets the iteration counter to 0.
  4. Use the Receive Task element that has a timer attached to it.
  5. After the specified time has elapsed, the process routes to the original Exclusive gateway element. Here, the iteration counter restarts from 0 and therefore, the loop continues for the next 15 iterations.

The following image shows an example of the workaround if using the Exclusive gateway:

1811_exclusive_gateway_workaround.png

To connect elements in a process

Important

Application business analysts can customize the objects developed in their own applications and that are marked customizable by the administrator, but cannot customize the objects developed in com.bmc.arsys in Best Practice Customization mode. For example, objects in core BMC applications like Foundation, Approval, and Assignment cannot be customized in Best Practice Customization mode.

  1. In the Process designer, select the element on the canvas that you want to connect to the other element.
    The sequence flow element is displayed.
  2. Drag the sequence flow element (arrow) and connect to the other corresponding element.
  3. In the Properties pane, enter the properties for the sequence flow element. The following table provides more information on sequence flow element properties:

    Property

    Description

    Type

    Type of the Sequence Flow element. You cannot select a particular type. The type is decided at the run time depending on where the sequence flow is used, and if a condition is defined on the sequence flow. The types of sequence flow are as follows:

    • Default: Used to denote an outgoing path of an exclusive gateway where the sequence flow has no defined condition.
    • Conditional: Used to denote an outgoing path of an exclusive gateway where the sequence flow has a defined condition.
    • Normal: Used to denote a path that connects all other flow nodes.

    Label

    Name of the element by which the element is shown in the process diagram.

    Label Position

    Position of the label on the element.

  4. Save the process.

For information on how to run a process, see Managing-processes-by-using-the-Manage-Processes-dashboard.

To control process flows by adding Gateways

  1. Log in to BMC Helix Innovation Studio and navigate to the Workspace tab.
  2. Select the application in which your process exists.
  3. In the application, click Processes tab.
  4. Click the process name where you want to add the Gateways element.
    The system opens Process designer and displays the process diagram on the canvas.
  5. Drag and drop the Gateways element to the canvas and place the element where you want to represent concurrent tasks (Parallel gateway) or specify a condition (Exclusive gateway).
  6. In the Properties pane, enter the values of the element properties and specify the flow of execution that you want to create for your business logic.
  7. Save the process.

If the source automation system provides a Template ID or Template Name as part of the inputs to create the change record, the corresponding template is searched and applied to the change record.

Related topic

Defining-the-application-business-logic-through-processes

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*