I have a requirement where the input year should not be greater than the current year. This validation has to be given to the field... (using Integer input field)
Which function to use to validate - input year should not be greater than the current year
370 views Asked by Kasun98 At
1
Well no such out of the box function present in
Pega.You need to write it on your own. If you are looking for
Edit Validaterule then you can write an edit validate rule with below code.You can write a
java functionalso and call it inObj Validaterule. If you want to chose thejava functionoption instead ofedit validatethen that function should accepttheValueas parameter.