Welcome to Zuora Product Documentation

Explore our rich library of product information

Add conditions to a routing rule

Add one or more condition components to define the branches that route transactions to different gateways.

You have added a trigger to the rule. For more information, see Add a trigger to a routing rule.

You can drag the rule map to reposition it.

  1. Click the plus icon on the connector line.
  2. Select the condition type that meets your needs.

    The condition builder dialog opens. For more information about each condition type, see the Payment Gateway Routing rules section.

  3. In the Basic Info section, enter a name for the condition in the Name field.

    The name appears in the condition node.

  4. In the Route Condition section, define the first route condition.

    Each route condition represents a branch of the rule. Enter a label for the branch, select an attribute in the left field, select an operator in the middle field, and specify a value in the right field.

    Note: The Split Traffic condition supports only two branches. For each branch, enter a label in the left field and an integer in the right field.
  5. Optional: To combine multiple attributes for complex gateway decisions, click Add Rule, and then define each additional condition item.

    Items are joined with an AND comparator. For example, you can define one item for Amount Greater Than 100 and another for Currency Equal To US Dollar. Transactions that meet both conditions (amount > 100 AND currency = USD) are routed to this branch.

  6. Optional: To define more route conditions, click Add Conditional Branch, and then repeat the previous two steps for each branch.
  7. Click Save.