< Previous | Next >

Implement gateways

In this lesson, you implement the exclusive gateways, Need GM approval and GM approved, that you modeled in the Standard HR Open New Position business process definition (BPD).

About this task

When you specify the implementation for a gateway, you define conditions that control whether a path is followed during the running process.

Note: This lesson assumes the default IBM® Process Designer setting, not the Advanced.

Procedure

Implement the gateways:

  1. Make sure that the Standard HR Open New Position process is open and the Diagram tab is selected.
  2. Implement the Need GM approval? gateway:
    1. Click the Need GM approval? gateway.
    2. In the Properties tab, select Implementation.
    3. In the Decisions section, make sure that the order of the sequence flow starts with Approval required at the top and No approval needed --> proceed to HR at the bottom. You can reorder the sequence flow by using the up and down arrows on the right.
    4. In the first box to the right of Approval required, click the Select a variable icon.
      Select a variable
    5. Select positionType under currentPosition.
    6. Change the list item to ==.
    7. In the last box type "New".
      Note: You must include quotation marks because the positionType is a string.

      The implementation matches the following image:

      This image shows the Implementation page for the Need GM approval? gateway
  3. Save your work.
  4. Implement the GM approved? gateway:
    1. Click the GM approved? gateway.
    2. In the Properties tab, select Implementation.
    3. In the Decisions section, make sure that the order of the sequence flow starts with Approved --> proceed to HR at the top and Rejected at the bottom.
    4. In the first box to the right of Approved --> proceed to HR, click the Select a variable icon.
    5. Select gmApproval under requisition.
    6. Change the list item to ==.
    7. In the last box type "Approved".

      The implementation matches the following image:

      This image shows the Implementation page for the GM approved? gateway
  5. Save your work.

Lesson checkpoint

You implemented the gateways that were modeled in the Standard HR Open New Position BPD.

In this lesson, you learned how to implement gateways.

In the next lesson, you conduct Playback One.

< Previous | Next >