Question

2
Replies
1476
Views
John Wallace (wallj1)
PEGA
System Architect
Pegasystems Inc.
US
wallj1 Member since 2015 6 posts
PEGA
Posted: April 22, 2019
Last activity: April 23, 2019
Posted: 22 Apr 2019 10:10 EDT
Last activity: 23 Apr 2019 13:45 EDT
Closed
Solved

How Can I Validate a Value as a Datetime/Non-Datetime?

Hi,

I am looking for a out of the box way to validate the value stored in a property either is or isn't a valid datetime property. To be clear, I'm not looking to validate if the property type itself is a datetime, but that the value that has been saved to it can be evaluated as a datetime.

Currently we are trying to use an activity to do this, as this being done within a configuration section for a DDS rule, and as such, automatic property type validations/other validations that are done on the property in the section rule do not fire.

Currently, I have tried using a when rule with the OOB Validate Rule IsValidDateTimeProp, but that validate rule is not working as expected.

In brief:

I am looking for a way to validate that the value of a property can be evaluated as a Datetime, and this is being done in an activity.

Pega Marketing Case Management User Experience
Moderation Team has archived post, 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.