Troubleshoot Automation Rules

Steps to take if your automation rules do not apply to your orders as expected.

Follow the steps outlined in this troubleshooting guide when your automation rules do not apply to orders as expected. Expand the section to view details and steps.

1. Reprocess Automation Rules

Reprocess automation rules to reapply all currently active automation rules and product defaults to all orders currently in the Awaiting Shipment status. Reprocessing the rules can help troubleshoot if there are missing criteria and fix any absent settings not applied during the initial rule processing.

Automation Rules. Arrow points to Reprocess Automation Rules button.

Once you have reprocessed automation rules, check the order activity log for clues as to what caused the issue.

2. Review the Order Activity Log

Check if a rule was successfully applied to an order by checking the Order Activity log in the Order Details window. If the rule did not apply, the order may not have met the rule's criteria.

If the rule did apply but did not affect orders as you were expecting, it could be that the changes the rule made were overridden by another automation rule. The activity log will help you find which other rules were applied to the order that may have overridden the desired rule.

Shipment Activity expanded in Shipment panel of Order Details window with Shipment Activity highlighted

3. Check the Rule for Invalid or Missing Criteria

Ensure that no additional characters or letters are entered into the criteria. When using criteria that call for a number (such as Order Total, Total Quantity, or Total Weight) only the numerical value must be entered.

For example:

  • Do not add the dollar sign, $ , for Order Total

  • Do not enter a weight indicator, such as oz or kg, for Total Weight

SET_AutomationRules_invalidcriteria-MRK.png

Also, ensure that each rule has at least one criteria (or is set to apply to all orders) and one action. The selected criteria and actions should not be blank.

Leaving blank criteria or actions will cause an automation rule to fail, and can also cause all subsequent automation rules to fail to run as well. If you find that a large number of your automation rules are not running, even though the rules themselves appear to be valid, check the previous rules in the list to see if any are missing their criteria or action values.

SET_automation_rule_emptycriteria-MRK.png

4. Check the Order of Operations

Many automation rule actions update carrier-specific shipping options. Ensure that there is automation that sets the shipping service on the order before any automation rules set a carrier-specific shipping option.

For example: Use product defaults, service mappings, or an automation rule to set the shipping service to a UPS service before any automation rules that enable UPS-specific settings.

In the below image, 16oz UPS Ground Service is set prior to UPS Insurance being added. If this was not the case, the Add UPS Insurance rule may fail.

SET_Automation_Rules_goodOrderofOperations-MRK.png

Similarly, the criteria for an automation rule may be dependent upon another automation being applied first.

For example: A rule is configured to use an order tag as its criteria. If no other automation applies the tag to the order first, the rule may fail.