Hiring tutorial > Model the process

In this lesson, you create two event gateways to model points in the Standard HR Open New Position process execution.

In the previous lesson, you added a sequence flow line for each potential path from an activity. Now you add gateways to control the divergence and convergence of the sequence flow lines and to determine the branching of the paths that the process can take.

An event gateway represents a branching point in a process where only one of several flows can be followed, depending on the events that occur. For the Standard HR Open New Position process, you need the following gateways:

  • New position?: If the position request is to fill an existing position, the request goes directly from the hiring manager to HR. If the request is to fill a new position, the requisition goes to the general manager (GM) for approval.
  • GM approved?: The GM evaluates the request for a new position and either approves or rejects it. If the GM approves the new position, the request goes to human resources, who can then search for position candidates. If the GM rejects the new position request, the hiring manager is notified and the process ends.

This lesson uses the following concept:

Concept Description
gateway Controls the flow of a process, such as the divergence and convergence of sequence lines, determining, branching,
and merging the flows that a process can take. There are two gateway
modes: split and join. A gateway can split an incoming flow into multiple outgoing flows, or it can join incoming flows into one outgoing flow. There are two types of gateways: exclusive and parallel. This tutorial uses exclusive gateways.

Procedure

  1. Make sure that the Standard HR Open New Position process is open and the Definition tab is selected.
  2. Drag a gateway from the palette to the right of the Submit position request activity on the process diagram. In the General properties, rename it to New position?.
    This image shows adding the New position gateway to the process diagram.
  3. In the General properties, verify that Exclusive Gateway is the gateway type.
    This image shows the general properties of the New position gateway

    Tip: You can drag any activity or event to move it around in the diagram.

  4. Connect the New position? gateway:
    1. Click the sequence flow between the Submit position request and the Find position candidates activities and press the Delete key (or right-click and select Delete).
    2. Delete the sequence flow between the Submit position request and Review new position request activities.
    3. Connect the Submit position request activity to the New position? gateway.
    4. Connect the New position? gateway to the top of the Find position candidates activity and then to the top of the Review new position request activity.
      This image shows the New position decision connected to the top of the Find position candidates activity and to the top of Review new position request activity.
  5. Name the sequence flow lines:
    1. Click the sequence flow between the New position? gateway and the Find position candidates activity.
    2. In the Properties tab, type No approval needed –> proceed to HR as the name.
      Properties of flow line showing the changed name
    3. Click the sequence flow between New position? and Review new position request.
    4. In the Properties tab, type Yes – GM approval required as the name.
  6. Drag a gateway from the palette to the right of the Review new position request activity on the process diagram. Type GM approved? in the text box that displays over the gateway.
  7. Connect the GM approved? gateway:
    1. Delete the sequence flow between the Review new position request and the Find position candidates activities.
    2. Delete the sequence flow between the Review new position request and Notify hiring manager activities.
    3. Connect the Review new position request activity to the GM approved? gateway.
    4. Connect the GM approved? gateway to the Notify hiring manager activity and the Find position candidates activity.
    5. Name the sequence flow lines to Rejected and Approved –> proceed to HR. Your process model matches the following image:
      This image shows all of the gateways added to the process diagram with the correct sequence flow lines added and labeled.
  8. Save your work.

Summary

You added event gateways to the Standard HR Open New Position process.

In the next lesson, you add a timer intermediate event.

< Previous | Next >

Learn more: