QPR Knowledge Base

Gateways

Hide Navigation Pane

Gateways

Previous topic Next topic No expanding text in this topic  

Gateways

Previous topic Next topic JavaScript is required for expanding text Mail us feedback on this topic!  

Comments (...)

Gateways are modeling elements that are used to control how sequence flows interact as they converge and diverge within a process. Thus, it will determine branching, forking, merging, and joining of paths. If the flow does not need to be controlled, then a gateway is not needed. Each type of control affects both the incoming and outgoing flow. A gateway is represented by the diamond shape. Each type of gateway has an internal indicator or marker to show the type of gateway that is being used.

 

pic_gateways

 

Gateway is quite similar to the decision element in the default template of QPR ProcessGuide but also has different variations with accurate definitions in BPMN.

 

The following gateway types are included in the BPMN template for QPR ProcessGuide:

 

Exclusive gateway (XOR) (data-based)
Exclusive gateway (XOR) (event-based)
Inclusive gateway (OR)
Complex gateway
Parallel gateway (AND)

 

An exclusive gateway (XOR) restricts the flow so that only one of a set of alternatives may be chosen during runtime. The data-based gateway refers to a branching point where alternatives are based on conditional expressions contained within the outgoing sequence flow. The event-based gateway refers to a branching point where alternatives are based on an event that occurs at that point in the process.

 

An inclusive gateway (OR) represents a branching point where alternatives are based on conditional expressions contained within the outgoing sequence flow.

 

A complex gateway is used for handling complex conditions and situations.

 

Parallel gateways provide a mechanism to synchronize parallel flow and to create parallel flow. These gateways are not required to create parallel flow, but they can be used to clarify the behavior of complex situations where a string of gateways are used and parallel flow is required.

 

 

Creating and Modifying Gateways

Tool Palette of the BPMN template contains tools for creating gateways with the gateway type specified. When you have selected the right tool in the Tool Palette, create a new gateway by pointing and clicking the location for it in the flow chart.

 

You can edit the properties of gateways (such as the attributes listed in the tables below) by right-clicking on the element in the flow chart view and selecting Set Process Step Properties... For further information on this dialog, see topic "Process Step Dialog" in QPR ProcessGuide - User's Guide. Using the pop-up context menu, you can also change directly some of the gateway properties, such as the gateway type.

 

 

Common Gateway Attributes

All gateways share some common attributes. These common attributes are described in the following table.

 

Attribute / Attribute group

Cardinality

Type

Description

Common Gateway Attributes




GatewayType

1

String

Specifies the type of the gateway which will determine the behavior of the gateway, both for incoming and outgoing sequence flow.The possible values are:

Exclusive (the default): Exclusive gateway (XOR)
Inclusive: Inclusive gateway (OR)
Complex: Complex gateway
Parallel: Parallel gateway (AND)

 

The attributes for an exclusive gateway are described in the following table.

 

Attribute / Attribute group

Cardinality

Type

Description

ExclusiveType

1

String

Defines the type of exclusive gateway. The possible options are:

Data (the default)
Event

Data Exclusive type Attributes




MarkerVisible

1

Boolean

Determines if the XOR marker is displayed in the center of the

gateway diamond (an “X”). By default, the marker is not shown.

Event Exclusive type Attributes



 

Instantiate

1

Boolean

This attribute may be set to true if the Gateway is the first element after the Start Event or a starting Gateway if there is no Start Event.

 

The attributes for a complex gateway are described in the following table.

 

Attribute / Attribute group

Cardinality

Type

Description

IncomingCondition

1

Expression

If there are multiple incoming sequence flows, an IncomingCondition expression must be set.

OutgoingCondition

1

Expression

If there are multiple outgoing sequence flows, an OutgoingCondition expression must be set.

Comments (...)