This documentation supports the 20.02 version of BMC Helix Platform.

To view the documentation for the current version, select 20.08 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

GatewayDescriptionExample

Parallel

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

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.


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.

Workaround

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

  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.

To connect elements in a process

Note

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

  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:

    PropertyDescription
    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.
    LabelName of the element by which the element is shown in the process diagram.
    Label PositionPosition 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

Was this page helpful? Yes No Submitting... Thank you

Comments