I am having this Error message when I tried to validate the Age from the date of birth with the current date.
Problem invoking function: pega_rules_datetime.dateValue–(String), null
Here I have attached the expresseion
I am having this Error message when I tried to validate the Age from the date of birth with the current date.
Problem invoking function: pega_rules_datetime.dateValue–(String), null
Here I have attached the expresseion
Could you please check if you are passing the correct date format as the parameters in the tracer? Could you please share the complete logs to analyze the issue?
Finally I found the solution my self. Here is the expression I am using.
@(Pega-RULES:ExpressionEvaluators).round(@(Pega-RULES:DateTime).DateTimeDifference(.DateOfBirth+"T000000.000 GMT",@(Pega-RULES:DateTime).CurrentDateTime(),"Y"))<17
@PraveenSiva Thank you for your reply. I found the solution. I mentioned below.
@Mohamed_Akeel Thank you this helped me
@RajashekarM16674385 you are welcome.