7 Replies Latest reply on Aug 9, 2019 12:40 PM by Daniel Noriega

    DataType Validation in CAI

    Daniel Noriega New Member


      I could use some advise on how to perform DataType validation in CAI. I had expected to find some kind of "fn:is-date" or similar function, but I am unable to spot it so far.

      My overall problem is that I have an existing third-party application with a sub-standard API, which will fail without an error when given an incorrectly formatted value. I need to build a wrapper around it which will check the inputs and only pass valid dates. I had hoped a simple is-date check would suffice, but I can't seem to find it in CAI.