Getting Started with Rules: Add Multiple Conditions

"And" statements allow you to chain together multiple conditions. If condition 1 and condition 2 are both true, then the rule will execute.

How do I set up conjunctions?

In this example, we will exclude sales where the store name contains Amazon and the letters CA. Here are the steps:

  1. Go to the top menu and click on Rules Engine. Then, click on Add New Rule in the upper right corner.
    NewUIAddNewRule-1
  2. Select "Add New Rule" at the top of the grid
  3. For the Rule Type, select "Rule with condition". This will give you the grid that allows you to choose an action, and multiple conditions to act upon it.

    NewuiRule-1
  4. Next, select your connection and enter your order number. Once the order is verified, click the Next button.

    addnewrule
  5. Next, give your rule a name, and choose the action you wish to implement.
    addnewrule-1
  6. Let's use the first use case above, so we are going to be checking if the selling channel is equal to Amazon in the first condition. Click "Add" on the conditions grid, and you should see a popup:

  1. Enter the values you see in the screenshot (Selling Channel, Equals, AND, Amazon) and click "Update".
  2. Click "Add" again, as we have to add a second conditional to this rule. You will see the same popup again, where we will add the condition that says if payment method is "Visa"
  3. In the final step (what should the value be) enter the deposit account "Visa Clearing Account"
  4. Click Submit and you're done!

🔷 Next: Map One Field to Another with Condition (Step 7)