Forum Discussion

jervin's avatar
jervin
New Contributor III
5 years ago

Data Validator - allow null values

I’m trying to use the Data Validator snap to validate birthdays in a file.

The birthday (DOB) field is optional - it can be null, but if there is a date it needs to be in the proper format.

I have this regex in my Data Validator, but it is catching null values as well. Is there a good way around this?

4 Replies

  • sindhu's avatar
    sindhu
    New Contributor II

    Found solution for this. Thanks

    • philliperamos's avatar
      philliperamos
      Contributor

      Can you please post the solution as we have a similar use case.
      Thanks.

      • bojanvelevski's avatar
        bojanvelevski
        Valued Contributor

        Hey @philliperamos ,

        https://elastic.snaplogic.com/api/1/rest/public/runtime/<ORG>/<PIPE_RUUID>

        use this endpoint if you like to get details about specific execution of the pipeline. If you need to get complete details related to a pipeline, use this one:

        https://elastic.snaplogic.com/api/1/rest/public/runtime/<ORG>?pipe_name=<PIPELINE_NAME>&last_hours=24