ArdentWMS
App

Create an automation rule

Build a rule with a trigger, conditions and an action, enable it, and check it worked. Includes three worked examples: notify on rush orders, set priority from the service level, and email when a purchase order is received.

Who can use this. Automations create to make a rule, Automations update to enable it. Rules that change orders also need Sales orders update and access to all warehouses.

A rule is: when something happens, if it matches, then do one thing. You build it in a slide-out on Automation rules.

Before you start

  • For a Notify rule, create the channel first (see Set up a notification channel).
  • Decide the one action. A rule does one thing; for two things, make two rules.
  • A rule applies to the whole workspace. Add a Warehouse condition if it should apply to one warehouse.

Steps

  1. 1

    Open Automation > Automation rules and press New rule. The slide-out New automation rule opens.

    The New automation rule slide-out with Name, Trigger event, a When section with Match ALL, and a Then do section.
  2. 2

    Enter a Name that says what the rule does, for example Hold EDI backorders. Add a Description (optional).

  3. 3

    Choose the Trigger event: Order created, Order updated, PO created, PO updated or Integration alert.

  4. 4

    Under When, choose Match ALL or Match ANY, press Add condition, and pick a Field, an Operator and a Value. Use Add group for a nested set. If you add no conditions the rule applies to every event of that trigger.

  5. 5

    Under Then do, choose the action and fill its fields (a Notification channel, a Hold reason, a Carrier, a Priority or a Service level).

  6. 6

    Press Create rule. The message says the rule was created but is disabled.

  7. 7

    In the rule's row menu choose Enable, then Enable rule. The status becomes Active.

  8. 8

    Test it: cause a matching event in the demo company and look for the run on Automation runs.

Example 1: tell the team about every rush order

PartSetting
NameRush order alert
Trigger eventOrder created
WhenMatch ALL. Priority is rush.
Then doNotify. Notification channel: your Slack or Teams channel.

Each new rush order posts a line such as [ArdentWMS] Rule "Rush order alert" fired on order_created for SO-1001 to the channel. The message names the rule and the order, nothing else. Text conditions are compared exactly, including capital letters, so type the value the way it is stored on your orders. If unsure, open a rush order and copy its priority.

Example 2: make next-day orders rush

PartSetting
NameNDA means rush
Trigger eventOrder created
WhenMatch ALL. Service level is NDA.
Then doSet priority. Priority: Rush.

The order's priority is changed when the rule runs. The change does not fire the Order updated trigger, so rules can't loop. The order must not already be Shipped or Cancelled. Because this rule changes orders, you need Sales orders update and access to all warehouses to save it.

Example 3: email the buyer when a purchase order is received

PartSetting
NamePO received email
Trigger eventPO updated
WhenMatch ALL. Status is Received.
Then doNotify. Notification channel: an Email channel.

The trigger fires whenever a PO's status, expected date or supplier changes, and the condition keeps only the change to Received. Email needs the email provider to be configured for your environment; if it is not, the run shows Failed (see Notification channels).

Note. There is no trigger for backorders, short picks or wave releases today, and no action to create a task or add a tag. Rules can notify, hold an order, or set its carrier, priority or service level.

What happens next

  • From now on, each new matching event is picked up within about a minute and a row appears on Automation runs.
  • Events the engine has already processed are not run again for a new rule.
  • Edit changes apply to later events. Disable stops the rule at any time without losing it.
  • Several rules can match the same event; each one runs once.

If something goes wrong

It was created but nothing happens.

New rules are Disabled. Enable it. Then see My automation rule didn't fire.

Saving says Give the rule a name.

Name is required.

Saving says A notify rule requires a notification channel.

Choose a channel under Then do. Create one first if the list is empty.

Saving says Hold order requires a non-empty reason, or Set carrier requires a carrier.

Fill the field the action needs.

Saving says a rule that changes orders needs update rights on sales orders in all warehouses.

Ask an admin for the right, or use a Notify rule.

Can I undo what a rule did?

A rule's change is a normal change to the order. Undo it on Orders, for example by releasing the hold or changing the priority. Disable the rule so it does not repeat.

Related articles

Updated November 29, 2026