Last updated
Last updated
To set up a for a business rule click the small "Add condition" circle between the and the . This will take you to the set up conditions page.
On the page click the + symbol to add a .
First you need to select a . For this example 'Previous attribute value condition' is chosen. Next you need to configure your if applicable. e.g. 'Color and is not empty'. When you click confirm you have added the first to your condition set.
If you wish to add just one you can click "Confirm". This will add the to your business rule. You can also add more conditions to your condition set. If you wish to do so, you have to choose how they relate to each other. You can choose between "And" or "Or". "Or" requires only one to be met for the condition set to be fulfilled. "And" requires all of the to be met. You can also choose to add another condition set by clicking the symbol.
Condition sets relate to each other in the same way within a condition set do.
Once you are satisfied with your , click "Confirm".
Having added a , there are now 2 boxes that contains. One will execute if the is met and one will execute if the is not met. Note that the task, that was previously in Execute has been moved into the we just added. You can add more by clicking "Add condition" above or under the "if" box.
These will be checked sequentially from top to bottom, and if one is met the rest will not be checked.
So in this example, if the variant is using the product structure 'Non-food' it will not check anything else, since that is the first to be checked.
A guide to setup and configure conditions in a business rule