Definition: Returns people with a number that represents if they’re on a single day off or multiple days off, as specified in their assignment’s shift pattern. The return value depends on the Sort Options argument (see below).
Return value: Values of type number.
Source: The General tab of the Setup Shift area, the Person Assignments area, the Setup Shift Group area.
Sorting: If this base rule is used for sorting in a List Target or a List, then people with a True return value are preferred (sorted to the top) over other candidates in an ascending sort; otherwise they are pushed to the bottom of the list in a descending sort.
The rule can be given a Where value; for example, =0, <2, >3, so that the rule only returns values equal to, greater than or less then the value entered in the Where field. This can then be used as a qualifier or disqualifier in a List Target or a List, and can be used as a sort in a List.
If no dynamic Where condition is specified then people with empty values or values failing the condition sort to the top in an ascending sort. Records of equal sorting priority for all sorting rules are sorted in random order. For example, if Where is <=3, then all records that have a greater than or equal to three value appear at the top of the List in no particular order as the system sets this randomly (unless there’s an additional sort criteria configured, then it would follow that sort criteria). The same concept applies to a Where condition >3, all records less than three appear in no particular order. If you refresh the List, you will see the order is random.
Arguments | Value |
---|---|
Sort Option |
|
%ShiftGroup%gray number |
|