Adding validations
To add validations:
- Open the settings.conf file with a text editor. The file is located in the \conf subdirectory clock installation.
- Locate the existing validation settings, if any.
-
Specify a new setting for each validation to add:
class.validation.ClockType.### = com.infor.wfm.clock.server.validation.ValidationType
replacing the following:-
ClockType
with the clock type to which the server applies the validation, you want the server to apply the validation. For example, specifyWB8000
to configure the clock to apply the specified validation to the 8000 Series clock. SpecifyW98000
for the 9000 Series clock. -
###
with a unique number for the set of validations applied to the clock type, incremented by one for each validation setting you add for the clock type. For example, if there are three validation settings for the 8000 Series clock, they should be numbered001
,002
, and003
. When you add a fourth setting, replace###
with004
.
-
-
As an example with the 8000 Series clock, you may have these settings:
class.validation.WB8000.003 = com.infor.wfm.clock.server.validation.JobValidation class.validation.WB8000.004 = com.infor.wfm.clock.server.validation.ConsecutiveTypesValidation class.validation.WB8000.005 = com.infor.wfm.clock.server.validation.TimeCodeValidation class.validation.WB8000.006 = com.infor.wfm.clock.server.validation.BreakLengthValidation class.validation.WB8000.007 = com.infor.wfm.clock.server.validation.DepartmentValidation class.validation.WB8000.008 = com.infor.wfm.clock.server.validation.DocketValidation class.validation.WB8000.011 = com.infor.wfm.clock.server.validation.ProjectValidation class.validation.WB8000.012 = com.infor.wfm.clock.server.validation.SameMinuteValidation
- Save the file and exit the text editor.