Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Input data

The input data window shows the raw data received by the Validate function from the previous functions in the stream. This view can help you to verify the incoming data to be validated. There are two tab views available, ; Table and Tree.

...

Output data

The output data shows a subset of the validated data. It will only show the data that has successfully passed the configured validation rules allowing you to verify that the function has correctly applied the rules.

...

Info

Example - Validate Functionfunction configuration, input, and output data from the example stream ‘Printing As A Service’.

In the example stream Printing As A Service, Several validation rules have been created on various fields. One of these rules is on the field, printerId. It has a key of type and a value of integerwhich means the function will check to make sure that the printerId is an integer.

example_validation_rule.png

In the function’s input data, we can see that one record that has an invalid printerID, “invalidShouldBeInt”. In the output data the record is missing as it has been removed during the validation process.

...