Skip to main content
Skip table of contents

Inserting an Exclusive Gateway and Defining the Execution Conditions

In this step, you will add another exclusive gateway to your process. After the human task has been performed, that is, a user has manually approved an invoice, the process can follow one of two paths: The invoice is manually accepted and then automatically forwarded, or the invoice is manually rejected and thus not forwarded.

Inserting an exclusive gateway

  1. From the Palette view, drag the image-20241014-145124.pngExclusive Gateway (Forking) element next to the image-20241015-113116.pngApproveOrDeclineInvoice.humantask element in the bottom lane of the pool.

  2. Click on the lower right image-20241015-085312.pngcorner of the image-20241015-113116.pngApproveOrDeclineInvoice.humantask element, hold down the mouse button and drag a connection to the image-20241014-145124.pngExclusive Gateway (Forking) element.

  3. Click on the lower right image-20241015-085312.pngcorner of the image-20241014-145124.pngExclusive Gateway (Forking) element, hold down the mouse button and drag a connection to the image-20241015-074303.pngCreateTransferRequest element.

    image-20241015-114032.png

Setting the execution condition

  1. Double-click the image-20241014-145124.pngExclusive Gateway (Forking) element in the editor.
    The Condition Editor opens.
    The connection between the image-20241014-145124.pngExclusive Gateway (Forking) element and the image-20241015-074303.pngCreateTransferRequest activity is automatically selected and highlighted in red in the Condition Editor.

  2. Enter the following condition in the Edit Condition section:
    If result of case_STATE is = Approved - manually

    image-20241015-113731.png
  3. Select Close.

  4. Select image-20241009-130249.pngSave.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.