Skip to content

Find which routing rule wins when one ticket matches two

List every rule that could match a sample ticket. In a test setup, check which rule assigns the queue and whether later rules can change that choice. Include a case that meets both the specific and general rules.

What you need

For a queue administrator who is adding a workflow rule to an inbox with existing routing.

  • A dated export of rule conditions and their current order.
  • Sample cases for one match, multiple matches and no match.
  • A named queue lead who can approve priority and fallback.

Test the intersection of old and new rules

  1. Write the expected owner for each sample before running the checks.
  2. Mark all matching rules. Verify the tool’s precedence using its trace or a destination receipt.
  3. Compare the actual owner with the target, especially when a wider rule overlaps a specialised rule.
  4. Apply any approved order change in test. Recheck the overlap and ordinary cases together.

A general support rule caught a billing case first

Synthetic data. This sample inbox evaluates rules from top to bottom and uses the first match.

Scroll the table to see all columns.

A general support rule caught a billing case first
InputMatching rulesExpectedObserved
Returns billingGeneral returns, billing escalationBillingReturns
Normal returnsGeneral returnsReturnsReturns
Unknown topicNoneReview queueReview queue

Only the overlap case fails. Put the approved billing escalation ahead of the broader match, then rerun all three cases.

What to hand over

Give the inbox owner the overlap matrix and the approved order or exclusion rule to retest.

Limitation. Platforms can apply rules sequentially or let a later automation override the first route. Check the actual workflow trace before changing it.

Next step

Bring two conflicting rules and a redacted ticket that fits both.

Discuss this workflow with Shadyy

Sources