FLOW
  • FLOW
  • Getting Started with FLOW
    • Overview
    • The Basics
      • FLOW Concepts
      • Events & Schemas
        • Event Metadata
        • Sample Event
        • Sample Schema
      • Connections
    • Architecture
    • FLOW Schedule
      • Cron Expression
  • Stages
    • Validations
    • Transform
    • Actions
    • Mapper
  • Recipes
  • Scripts
  • Webhooks
  • REST Connector
  • Flow Monitoring
  • Live Monitoring
  • Advanced Topics
    • Post Process
    • Naming Policy
    • Manage Patches
  • Installation
  • FAQ
  • Tutorials
    • Creating a Connection
    • Creating a Flow
    • Creating a Script
    • Creating a Recipe
  • How To
    • OTBI Input
    • CSV File from Amazon S3
  • Changelog
  • Environment Variables
  • Data Security & Privacy
Powered by GitBook
On this page
  • Testing Validation
  • Custom Validation

Was this helpful?

  1. Stages

Validations

No more invalid data into your data lake

PreviousStagesNextTransform

Last updated 5 years ago

Was this helpful?

You can configure one or more validation rules at each flow level. Events that are streamed in will be passed through these validation rules and those events that fail validations will be moved to error queue with metadata.errorType as "Validation". e.g. when you configure the Not Null validation rule on a event attribute, then any events that come in with missing value for that attribute will be marked as invalid.

Validations will be performed before the Transform stage, that way you don't have to worry about invalid data in your transform code.

Testing Validation

You can test your validation by click the "Test Validation" button before submitting them. Update the sample message to test different possibilities.

Custom Validation

You can use Custom validation type to specify complex conditions in either Java or Groovy script. You can use the full power of Java to perform any complex validations.

Validations Tab