X4 Produktdokumentation

Setting Execution Conditions

In this step, you specify the execution conditions for each execution branch of the exclusive gateway. These execution conditions determine 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.

How to set execution conditions

◀️
  1. Double-click the image-20241014-145124.png Exclusive Gateway (Forking) element in the editor.
    The Condition Editor opens. The connection between the image-20241014-145124.png Exclusive Gateway (Forking) element and the CreateTransferRequest 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 - automatically

    image-20241015-092426.png
  3. Click the connection between the Exclusive Gateway (Forking) element image-20241014-145124.png and the image-20250113-085603.png Human Task activity in the Condition Editor.

  4. Enter the following condition in the Edit Condition section:
    If result of CASE_STATE is = Approved - automatically

  5. Click Close.

  6. Click image-20250113-085706.png Save.

▶️