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
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.
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.
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:
To connect elements in a process
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.
- 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.
- Drag the sequence flow element (arrow) and connect to the other corresponding element.
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.
- 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
- Log in to BMC Helix Innovation Studio and navigate to the Workspace tab.
- Select the application in which your process exists.
- In the application, click Processes tab.
- 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.
- 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).
- 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.
- 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.