Once an order is downloaded and saved in the system Rules Engine will immediately check if there are any corresponding active rule that should perform an action to the order.
Rules Engine can:
- Assign a Tag to order
- Assigns an identifier to the order
- Assign order extended property
- Assign order to folder
- Assign order to location
- Assign postal service to order
- Execute a macro
- Lock order
- Park order
- Split order into packages of maximum value
- Split order into packages of maximum weight
- Split order into packages of single items
There are few important points about Rules Engine logic that should be clear before you start to create them:
Rules are executed in sequence, from top to bottom of the list. They each have a number in the Order column and execute from lowest to the highest number. This sequence can be changed using arrows.
Conditions inside each rule are also checked in the same sequence, from top to the bottom of the list.
Action will be performed when all conditions leading to it are met and it will not check any further within that particular rule. Hence it is important to set mutually exclusive conditions for the rules. Mutually exclusive means that these conditions cannot occur simultaneously.
1) All of the enabled rules will always run on each order and will overwrite each other if multiple rule conditions are matched.
- If an order meets the conditions of several rules, all enabled rules will run on this order in the sequence displayed in the Rules Engine screen and only the last rule that runs on the order will change it. The system executes rules this way to allow setting some conditions/actions in one ruleset and then use this outcome as a decision for a subsequent ruleset.
- That's why it is highly recommended to have rules configured with a unique set of conditions.
2) Rules engine will ignore the order if it is Not Paid or if order source is FBA.
3) Within the rule, condition evaluation will stop as soon as it gets to the first action.
4) Rules can apply multiple actions to a single order as long as the actions are different.
Articles that might be useful: