Question

3
Replies
266
Views
X
BobReawaruw Member since 2018 43 posts
Atos
Posted: 8 months ago
Last activity: 8 months 2 weeks ago
Solved

Email validation on property

Issue

Pega provides multiple email validations OOTB
Edit Validate rule: ValidEmailAddress
Function: pyServicesUtilities • pyValidateEmailID

Email validation on property
OOTB Edit Validate: ValidEmailAddress
null: true
name: false
name@: false
name@domain: true
name@domain.com: true

Email validation via Validate rule
OOTB Function: pyServicesUtilities • pyValidateEmailID
[expression evaluates to true]
!@(Pega-IntegrationArchitect:pyServicesUtilities).pyValidateEmailID(.EmailProperty)
null: false
name: false
name@: false
name@domain: false
name@domain.com: true

Using the regex java code of the Function(pyServicesUtilities • pyValidateEmailID) in the Edit Validate(ValidEmailAddress) should result in validation on property:
null: false
name: false
name@: false
name@domain: false
name@domain.com: true

However, it results in:
null: true
name: false
name@: false
name@domain: true
name@domain.com: true

***Edited by Moderator: Lochan to update platform capability tags***

Case Management
Share this page LinkedIn