Preferences

Definition: Returns the person's highest preference, this means the "highest preference" that has the lowest ordinal of all the preferences. If the position does not match any of the person's preferences, a zero 0 will be returned. If the position matches more than one of the person's preferences, then the number for the highest preference number (lowest ordinal of all the preferences) will be returned.

Return Value: Number

Source: The person’s Preference tab > Preference Profile > Preferences

The Where clause is used to match to a person's specific preference ordering, for example =1. The rule can process preferences in order starting at the person's top preference (lowest ordinal), and moving down the list (when Where is set to blank or >=1).

It is very important to understand that using the Where clause limits the results, and intended to be used as =1 to give people their first preference - first, followed by a second pass of >= 1 meaning give people their first preference or the next highest preference. Remember the application returns the lowest ordinal or highest preference found, ordinal 1 is the #1 choice, ordinal 2 is the second choice, hence the lowest ordinal is 1. To clarify, hypothetically, if Where is set to >=2 this does not mean give people their second or subsequent choice.

Example 1

Example 2 Example 3 Example 3