Close popover
Neeraj Sharma (NeerajS7619)
General Motors Company

General Motors Company
NeerajS7619 Member since 2019 9 posts
General Motors Company
Posted: March 23, 2020
Last activity: March 23, 2020

Excercise -- SAE 8 Solution Build Issue


Good Morning! I am having a trouble on step -107. After completing the configuration of the step and create a new case and enter valid value in date of birth field still displaying a message "This field could not be blank. Customer age must be 25". 

Any help is really appreciated.


Here is the detail of the step. 



As a customer, I want to make sure I provide the correct and required customer information so that I can ensure my rental reservation information is accurate.


Add the following validation to the Collect Customer Information step:

  • Require all fields except for Postal Code
  • Date of Birth must be in the past
  • Expiration Date must be in the future
  • Password field must be at least eight characters long and masked
  • Email address must be in a valid email format
  • Customer must be at least 25 years of age as of today

Technical approach

  • In Dev Studio, open the section for the Collect Customer Information step. Access the cell properties of each field to configure required and minimum length settings.
  • On the Expiration Date and Date of Birth properties apply the IsFutureDate and NotFutureDate edit validate rules respectively
  • Use the following date function in a validation rule to check for customer age:

@DateTimeDifference([DateofBirthProperty]+"T000000.000 GMT",@(Pega-RULES:DateTime).CurrentDateTime(),"Y")<25



Email --



***Edited by Moderator Marissa to update Platform Capability tags****

User Experience Pega Academy
Moderation Team has archived post,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.