MatchGroups: Priority and Overflow

Last updated

In Match Groups, you can set a Priority, and enable Overflow. How do these options work, how do they differ from each other, and how do they cooperate?

When configuring your Match Groups, you can set a Priority, and enable ‘Overflow to the Next Match Group’. This article will explain a bit more in depth what these options do in relation to each other.

In short

  • Priority used without Overflow will only determine which Match Group will be evaluated first when a record comes in. If a record doesn't match (fully) with its Match Rule logic, it will proceed to the Match Group with the next priority. Once a Match Group matches, the record is assigned either to an Assignee of the Match Group, or to its Queue User.
  • Overflow acts as a backup in case all Assignees of a matching Match Group are unavailable. Instead of assigning the record to the Queue User, it will proceed to the Match Group with the next priority where it also matches the Match Rule logic.

Priority

The Priority of Match Groups determines in which order the Match Groups are evaluated. Priority 1 Match Groups are evaluated first, then Priority 2, etc. However, this only applies if you have Match Groups that are not mutually exclusive with regard to their Match Rules.

When records are analyzed by Plauti Assign, to see which Match Group should handle them and assign an Assignee, a match is determined based on the Match Rules of a Match Group. The Match Rules will check the values of certain fields on the record to see if they match their settings. For example, a Match Rule can be “Country equals Canada”, or “Lead Type equals B2B”.

In some situations, like in Multi Stage Sales Processes, you first want to check if a record matches a strict set of rules, e.g. both “Country equals Canada” AND “Lead Type equals B2B”. You set up a Match Group ‘A’ with both these rules, and certain Assignees. If the record matches both rules, it will be assigned to one of the Assignees of the Match Group.

If the record does not match both rules, but only one, you want it processed by a different Match Group with different Assignees. So you set up a second Match Group ‘B’, e.g. with only “Country equals Canada” as a Match Rule.

However, when a new record comes in with country: Canada, there are now two Match Groups that match the record. If you do not set a different Priority, the second Match Group B might fetch it first, while in this example you want the strict Match Group A to try and match first.

This is where Priority comes in. You set the Priority of the strict Match Group A to ‘1’, and of the other Match Group B to ‘2’. When a record with country Canada comes in, Plauti Assign will now first see if it matches the full Match Rule logic of Match Group A.

  • If it does, it will assign one of the Assignees of Match Group A.
  • If it does not, it will try if it matches with Match Group B.

In this example the Match Rules are partly overlapping (both have Match Rule “Country equals Canada”). But the same can happen with fully different Match Rules: e.g. Match Group C looks for City equals Arnhem, Match Group D looks for Type equals Open, and a record with both City = Arnhem and Type = Open comes in. Without a Priority sequence set, the record can be picked up by both Match Groups, whoever happens to catch it first.

Match Groups without Match Rules

This is also the reason you want to give so-called “greedy" Match Groups, that do not have any Match Rules and are therefore able to match with all records, a Priority at the end of the sequence (e.g. 9 or 10 if you have a large number of non-exclusive Match Groups). With such a low Priority, it will only match with records that did not match any of the other Match Groups with more Match Rules.

Match Groups with the same Priority

There is some priority flow built in, in case a record matches two Match Groups with the same Priority set: the Match Group that has matched with records most often in the past will match. But you'll probably want to set an actual Priority instead.
Most of the time you can get by with setting up sufficient Match Rules. If a record will never match two Match Groups, it doesn't matter that they have the same Priority set.

Not used for unavailability

One thing to remember when it comes to Priority, is that it purely looks at Match Rules. If a record does not match all Match Rules of the Match Group with Priority 1, Plauti Assign will see if it then matches the Match Rules of the Match Group with Priority 2, and so on and so forth.
If a record does match all Match Rules of a Match Group, but all Assignees are unavailable, it will NOT proceed to the Match Group with the next Priority in line. Instead, the record is assigned to the Queue User of the matching Match Group, and will wait until an Assignee of that group becomes available again.

Overflow to the next Match Group

The Assignee availability is the difference between only using Priority, and using Overflow as well. Overflow is intended to set up a backup system in case all Assignees of the intended Match Group are unavailable. Assignees can be unavailable for example because they are marked as ‘out of office’, are at maximum capacity, or set to ‘inactive’. Unavailable Assignees cannot be assigned records.

When Overflow is enabled for a Match Group, and a record comes in that matches the Match Rules but the Assignees are all unavailable, the record will NOT be assigned to the Queue User to wait until an Assignee is available again. This waiting for availability might take too long for your workflows. Instead, with Overflow enabled, Plauti Assign checks if there is another Match Group that has Match Rules that the record matches with, but with a lower Priority, e.g. 2 instead of 1.

  • If there is another matching Match Group, and an Assignee is available there, the record will be assigned to them.
  • If there is another matching Match Group, but no Assignee is available there either, and Overflow is enabled on that Match Group as well, the record will move to see if there is a third, fourth, etc Match Group that matches.
  • As long as there are Match Groups with Match Rules that match the record, and Overflow is enabled on these groups, the record will continue moving from one Match Group to the next; either until it is assigned, or until there are no more matching Match Groups left.
  • When there are no more matching overflow Match Groups left, the record is NOT assigned to the Queue User of the last matching Match Group, but is instead assigned Use Plauti Assign status: NOMATCH. This is the same as when Overflow is not used and a record doesn't match with any Match Group. Set up a notification of some sort for records with that status, or for example have them assigned to a Salesforce Queue, so that they can be picked up in another way.
    If you do not want records to end like this, make sure the last matching Match Group has Overflow disabled:
  • If the record is matched to another matching Match Group, but no Assignee is available there either, and Overflow is NOT enabled on that Match Group, then that is considered the final Match Group in the line. Even if there are other overflow Match Groups with matching Match Rules left.
    The record is assigned to the Queue User of that non-overflowing Match Group and will wait until an Assignee is available there.
    So do make sure Overflow is enabled on all Match Groups that should overflow.

Overflow Match Groups with the same Priority

In combination with Overflow, Priority can be used to create a full sequence of overflow Match Groups in a set order (1-2-3-4-etc), but it is also possible to give different overflow Match Groups all the same Priority (e.g. all ‘2’). A record will then move from one random Priority 2 group to the next (the Match Rules still have to match though, and Overflow should be enabled on each Match Group). Plauti Assign will keep track of which Match Groups the record already tried but found unavailable, so it will meet all backup Match Groups only once until either an available Assignee is found, or there are no more matching overflow Match Groups left.

You can also set up multiple main Match Groups, with Priority 1 and extensive (and mutually exclusive) Match Rules, and an overflow Match Group with Priority 2 and less, more general Match Rules, so that the latter can be a backup for several main Match Groups.