X4 Produktdokumentation

Inserting an Exclusive Gateway and More Activities

In this step, you use an exclusive gateway to specify how the data is handled when one of the case states defined in the rule is set: Either the invoice is automatically forwarded or must be manually checked.

To insert the execution conditions, the next activities must already be inserted. These activities include an Activity element for automatic forwarding and a so-called Human Task element for the manual invoice check.

Note:

By default, the Task Management Web App is available for the task management in relation to human tasks. For more information, see Task Management.

◀️

Inserting an exclusive gateway

  1. Drag the image-20241014-145124.png Exclusive Gateway (Forking) element from the Palette view next to the image-20241014-085127.png Rule element in the top lane of the pool.

  2. Click on the lower right image-20241015-085312.png corner of the image-20241014-085127.png Rule element, hold down the mouse button, and drag a connection to the image-20241014-145124.png Exclusive Gateway (Forking) element.

Inserting activities

  1. Drag the image-20250113-085258.png Human Task element from the Palette view into the bottom lane of the pool.
    You will define the settings of the human task at a later time. For more information, see Creating and Defining a Human Task.

  2. Define a new name for the image-20250113-085258.png Human Taskin the Label field in the Properties view, e.g. ApproveOrDeclineInvoice.

  3. Drag the image-20250113-085210.png Activity element from the Palette view next to the image-20241014-145124.png Exclusive Gateway (Forking) element in the top lane of the pool.
    You can link the corresponding script or Technical Process with the element at a later time. For example, you could insert a Technical Process responsible for automatic forwarding after the data has been transformed.

  4. Define a new name for the image-20250113-085155.png Activity in the Label field in the Properties view, e.g. CreateTransferRequest.

  5. Click the lower right image-20241015-085312.png corner of the image-20241014-145124.png Exclusive Gateway (Forking) element and drag a connection to the image-20250113-085139.png CreateTransferRequest activity and the image-20250113-085258.png ApproveOrDeclineInvoicehuman task.

    image-20241015-085941.png
▶️