How First Valid Pass is Determined
RecTrac 3.1
Table of Contents
When opting to Select First Valid Pass,, two elements come into play in order to determine the "first valid pass" for a member.
- The system first looks at the Valid Pass List and cycles through each Pass Code in the field in the order in which it appears.
- When looking at each Pass Code in the list, the system applies rule checking and returns a weighted value based on whether Rules exist and whether they apply. The Pass Code with the lowest weighted value is the one which gets selected as "the first valid pass," where "weighted value" is:
- Blank (no issue with any Rule) = 1
- Rule Warning = 2
- Override Rule with Rights = 3
- Override Rule with Matching Code = 4
- Deny = 5
How Weighted Values are Assigned
System logic finds all Pass Codes that the member has which are in the valid pass list. The first such Pass Code found with a weight of "1" is the Pass Code that is used. If no such pass exists, then the system will go through again and look for a Pass Code with a weighted value of "2." If no such pass is found, the system will go through again and look for a "3,' and so on.
Weight Assignment
(Weighted Value * 10000) + Order in the Valid Pass List.
Examples
Example 1 – Pass Code returned with a value of "1"
Valid Pass List = a,b,c,d,e,f,g,h,i,j
The Member swiping in has eight (8) passes, but only five (5) of them (passes a,b,c,d,and e) meet the Valid Pass List.
Pass List order
- 1 = a
- 2 = b
- 3 = c
- 4 = d
- 5 = e
Rule checking runs and runs and returns the following for weighted values:
- a = 5
- b = 3
- c = 1
- d = check rules not run because pass c had no conflict
- e = check rules not run because pass c had no conflict
Based on the calculation, Pass C is used because:
- a = (5 * 10000) + 1 = 50001
- b = (3 * 10000) + 2 = 30002
- c = (1 * 10000) + 3 = 10003
- d - No value returned becasue a "1" was found.
- e - No value returned because a "1" was found.
Example 2 – No Pass exists without a rule conflict
Valid Pass List = a,b,c,d,e,f,g,h,i,j
The Member swiping in has eight (8) passes, but only five (5) of them (passes a,b,c,d,and e) meet the Valid Pass List.
Pass List order:
- 1 = a
- 2 = b
- 3 = c
- 4 = d
- 5 = e
Rule checking runs and runs and returns the following for weighted values:
- a = 5
- b = 2
- c = 2
- d = 3
- e = 5
Based on the calculation, Pass B is used because it is the lowest number returned:
- a = (5 * 10000) + 1 = 50001
- b = (2 * 10000) + 2 = 20002
- c = (2 * 10000) + 3 = 20003
- d = (3 * 10000) + 4 = 30004
- e = (5 * 10000) + 5 = 50005