Architect Expression editor for Dates and validation

I am new to Architect, so forgive me if I have missed something...

Scenario
Collect Date of Birth as ddmmyy from caller.
Validate DOB

The challenges seen are that the functions in the Expression Editor do not handle "invalid" input?
There is no function like IsDate() to return a true/false.
The ToDate() function does not handle an invalid date, e.g return null (or NOT_SET).

Documentation I have read indicates flow will go to error handling which is basically wrong for basic validation expression.

A simple task (in most IVR / CpaaS products I have used) becomes tedious.

Do I really need to create a long Update Data object with lots of entries parsing data and checks around the month, number of days and then leap years to determine if I have a valid date in the DOB entry?

I have tried finding more information on how flexible and capable the expression editor is, i.e. can you set local vars, is there some scripting language to build logic to parse the caller input and validate?
Seems I have to combine functions to return a boolean only

Simon,

This forum is mostly for Genesys Cloud API and development questions. You might get a better/faster answer if you post this question to the Genesys Community forums instead: https://community.genesys.com/communities/genesyscloudcx?CommunityKey=bab95e9c-6bbe-4a13-8ade-8ec0faf733d4

The Community Forums are better for platform usage kind of questions and it is a very active community.

Thanks for reply
I came from there (your link) and it looked more like discussions that a forum for help, from the right nav side this forum looked most appropriate, especially with an architect sub topic area?
Struggling to find a forum covering the Architect product.

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.