I am using the flow action "SetPassword", I added a post action activity to it to check the length of the password and whether it contians special character using activity "ValidatePassword". Upon comparing length of .pyPwdConfirm > 8 , the comparison is based on the encrypted value of .pyPwdConfirm. For example if .pyPwdConfirm was rules > 8 the comparison will return true because encrypted value > 8.
How shell we establish conditions on native pega password fields. I need the password to be at least 8 characters and includes 2 special characters.
***Updated by moderator: Lochan to add Categories; edited title***
If you are trying to validate the length of the password, why don't you validate the property for the corresponding field in the UI? You can use the OOTB pyPwdNew property and the edit validate rule, pzValidateOperPassword as your reference.
Posted: 5 years ago
Posted: 3 Jan 2017 21:21 EST
Rincy Rappai (RINCYRAPPAI)
Principal Software Engineer DevSecOps, Application Security